Home
last modified time | relevance | path

Searched refs:labels_shape (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsoftmax_op.cc149 const TensorShape labels_shape = ctx->InputShape(1); in Compile() local
150 OP_REQUIRES(ctx, logits_shape.IsSameSize(labels_shape), in Compile()
154 " labels_size=", labels_shape.DebugString())); in Compile()
182 const TensorShape labels_shape = ctx->InputShape(1); in Compile() local
186 OP_REQUIRES(ctx, TensorShapeUtils::IsVector(labels_shape), in Compile()
188 labels_shape.DebugString())); in Compile()
189 OP_REQUIRES(ctx, logits_shape.dim_size(0) == labels_shape.dim_size(0), in Compile()
194 labels_shape.DebugString())); in Compile()
213 builder, depth, /*axis=*/1, input_type(1), labels_shape, in Compile()
/external/tensorflow/tensorflow/python/ops/
Dconfusion_matrix.py65 labels_shape = labels.get_shape()
66 labels_rank = labels_shape.ndims
85 labels_shape.dims[-1].is_compatible_with(1)):
Dmetrics_impl.py2967 labels_shape = array_ops.shape(labels)
2968 labels_size = labels_shape[-1]
2970 return array_ops.fill(labels_shape[0:-1], num_relevant_scalar, name=scope)
Dnn_ops.py3314 labels_shape = array_ops.shape(labels)
3359 cost = array_ops.reshape(cost, labels_shape)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drnn_common.py233 labels_shape = array_ops.shape(labels)
234 batch_size = labels_shape[0]
235 padded_length = labels_shape[1]
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dtensor_util.py105 labels_shape = labels.get_shape()
106 labels_rank = labels_shape.ndims
125 labels_shape.dims[-1].is_compatible_with(1)):
/external/tensorflow/tensorflow/core/kernels/
Dctc_loss_op.cc101 TensorShape labels_shape({batch_size, max_label_len}); in Compute() local
106 labels_shape, order, &labels_sp)); in Compute()
/external/tensorflow/tensorflow/contrib/boosted_trees/python/utils/
Dlosses.py118 labels_shape = labels.get_shape()
119 if len(labels_shape) != 2: