Home
last modified time | relevance | path

Searched refs:empty_shape (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dtensor_array_ops.cc650 TensorShape empty_shape; in Compute() local
651 element_shape_.AsTensorShape(&empty_shape); in Compute()
652 empty_shape.InsertDim(0, 0); in Compute()
654 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, empty_shape, &empty_unused)); in Compute()
855 TensorShape empty_shape; in Compute() local
856 element_shape_except0_.AsTensorShape(&empty_shape); in Compute()
857 empty_shape.InsertDim(0, 0); in Compute()
859 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, empty_shape, &empty_unused)); in Compute()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc1552 TensorShape empty_shape; in FastParseSingleExample() local
1553 empty_shape.AddDim(0); in FastParseSingleExample()
1555 empty_shape.AddDim(config.dense[d].shape.dim_size(i)); in FastParseSingleExample()
1557 result->dense_values[d] = Tensor(config.dense[d].dtype, empty_shape); in FastParseSingleExample()
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc449 TensorShape empty_shape({0}); in EmptyConst() local
450 empty_shape.AsProto(proto.mutable_tensor_shape()); in EmptyConst()