tf.SymbolicTensor is a placeholder for a Tensor without any concrete value.

They are most often encountered when building a graph of Layers for a tf.LayersModel and the input data's shape, but not values are known.

Doc

Constructors

Properties

Constructors

  • Parameters

    • dtype: keyof DataTypeMap
    • shape: Shape
    • sourceLayer: Layer

      The Layer that produced this symbolic tensor.

    • inputs: SymbolicTensor[]

      The inputs passed to sourceLayer's call() method.

    • callArgs: Kwargs

      The keyword arguments passed to the call() method.

    • Optional name: string
    • Optional outputTensorIndex: number

      The index of this tensor in the list of outputs returned by apply().

    Returns SymbolicTensor

Properties

nodeIndex: number

Replacement for _keras_history.

rank: number

Rank/dimensionality of the tensor.

tensorIndex: number

Replacement for _keras_history.

Generated using TypeDoc