Home
last modified time | relevance | path

Searched refs:shape_dim (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Dtfexample_decoder.py196 shape_dim = keys_to_tensors[k]
197 if isinstance(shape_dim, sparse_tensor.SparseTensor):
198 shape_dim = sparse_ops.sparse_tensor_to_dense(shape_dim)
199 shape_dims.append(shape_dim)
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc174 const int64 shape_dim = shape.dimensions(i); in TileOffsetForDevice() local
176 index[i] * CeilOfRatio(shape_dim, tile_assignment_.dim(i)), shape_dim); in TileOffsetForDevice()
193 const int64 shape_dim = shape.dimensions(i); in TileLimitForDevice() local
195 (index[i] + 1) * CeilOfRatio(shape_dim, tile_assignment_.dim(i)), in TileLimitForDevice()
196 shape_dim); in TileLimitForDevice()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow_test.cc90 auto shape_dim = shape->add_dim(); in BuildNode() local
91 shape_dim->set_size(output_shape_dim); in BuildNode()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.cc833 DimensionHandle shape_dim = Dim(tensor_shape, 0); in InternalMakeShapeFromTensor() local
834 if (!ValueKnown(shape_dim)) { in InternalMakeShapeFromTensor()
837 const auto num_dims = Value(shape_dim); in InternalMakeShapeFromTensor()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py124 for shape_dim in shape:
125 num_elements *= shape_dim
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py1566 @RegisterPForWithArgs("Conv2DBackpropInput", flatten_dims=[2], shape_dim=0)
1567 @RegisterPForWithArgs("AvgPoolGrad", flatten_dims=[1], shape_dim=0)
1569 shape_dim): argument
1575 [array_ops.shape(inputs[shape_dim])[0] - 1], dtype=n.dtype)
1576 inputs[shape_dim] *= array_ops.concat([n, ones], axis=0)