LostTech.TensorFlow : API Documentation

Type TensorSpec

Namespace tensorflow

Parent BatchableTypeSpec

Interfaces ITensorSpec

Describes a tf.Tensor.

Metadata for describing the tf.Tensor objects accepted or returned by some TensorFlow APIs.

Methods

Properties

Public static methods

object from_spec_dyn<TClass>(object spec, object name)

TClass from_spec<TClass>(TensorSpec spec, string name)

object from_tensor_dyn<TClass>(object tensor, object name)

TClass from_tensor<TClass>(IGraphNodeBase tensor, string name)

Public properties

DType dtype get;

Returns the `dtype` of elements in the tensor.

object dtype_dyn get;

Returns the `dtype` of elements in the tensor.

object name get;

Returns the (optionally provided) name of the described tensor.

object name_dyn get;

Returns the (optionally provided) name of the described tensor.

object PythonObject get;

TensorShape shape get;

Returns the `TensorShape` that represents the shape of the tensor.

object shape_dyn get;

Returns the `TensorShape` that represents the shape of the tensor.

PythonClassContainer value_type get;

object value_type_dyn get;