Searched refs:empty_shape (Results 1 – 3 of 3) sorted by relevance
650 TensorShape empty_shape; in Compute() local651 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() local856 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()
1552 TensorShape empty_shape; in FastParseSingleExample() local1553 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()
449 TensorShape empty_shape({0}); in EmptyConst() local450 empty_shape.AsProto(proto.mutable_tensor_shape()); in EmptyConst()