Home
last modified time | relevance | path

Searched refs:ta_shape (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_array_ops.cc79 TensorShape ta_shape; in MaybeInitializeTensorArray() local
80 ta_shape.AddDim(resource->max_array_size()); in MaybeInitializeTensorArray()
81 ta_shape.AppendShape(elem_shape); in MaybeInitializeTensorArray()
82 if (ta_shape != shape) { in MaybeInitializeTensorArray()
84 "Mismatched TensorArray sizes: ", ta_shape.DebugString(), " vs ", in MaybeInitializeTensorArray()
162 TensorShape ta_shape; in Compile() local
163 ta_shape.AddDim(size); in Compile()
164 ta_shape.AppendShape(shape); in Compile()
166 value = xla::Broadcast(zero, ta_shape.dim_sizes()); in Compile()
259 TensorShape ta_shape; in Compile() local
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_resource.cc136 TensorShape ta_shape; in SetZeroValue() local
137 ta_shape.AddDim(max_array_size_); in SetZeroValue()
138 ta_shape.AppendShape(shape_); in SetZeroValue()
140 ta_shape.dim_sizes()); in SetZeroValue()
144 TensorShape ta_shape; in SetZeroValue() local
145 ta_shape.AddDim(max_array_size_); in SetZeroValue()
146 ta_shape.AppendShape(shape_); in SetZeroValue()
149 ta_shape.dim_sizes()), in SetZeroValue()
169 TensorShape ta_shape; in GetOrCreateTensorArrayGradient() local
170 ta_shape.AddDim(max_array_size_); in GetOrCreateTensorArrayGradient()
[all …]