tfl.model_info.LinearNode

View source on GitHub

Class LinearNode

Represents a linear layer.

Attributes:

  • input_nodes: List of input nodes to the linear layer.
  • coefficients: Linear weights.
  • bias: Bias term for the linear layer.

__new__

@staticmethod
__new__(
    _cls,
    input_nodes,
    coefficients,
    bias
)

Create new instance of LinearNode(input_nodes, coefficients, bias)

Properties

input_nodes

coefficients

bias