Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/linalg/
Dlinalg_ops_common.cc182 TensorShape output_tensor_shape({}); in PrepareOutputs() local
195 output_tensor_shape = batch_shape; in PrepareOutputs()
196 output_tensor_shape.AppendShape(output_matrix_shape); in PrepareOutputs()
204 input_idx, output_idx, output_tensor_shape, &out)) { in PrepareOutputs()
213 output_idx, output_tensor_shape, &out)); in PrepareOutputs()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_to_dense_op.cc89 TensorShape output_tensor_shape; in Compute() local
92 &output_tensor_shape)); in Compute()
94 OP_REQUIRES_OK(c, c->allocate_output(0, output_tensor_shape, &output)); in Compute()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dgradients.py49 output_tensor_shape = output.shape
77 out.set_shape(output_tensor_shape.concatenate(flat_inputs[i].shape))
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconv_op_helpers.cc407 TensorShape input_tensor_shape, filter_tensor_shape, output_tensor_shape; in MakeXlaBackpropFilterConvOp() local
410 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(output_shape, &output_tensor_shape)); in MakeXlaBackpropFilterConvOp()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.h233 TensorShapeProto* output_tensor_shape, bool* is_single_element_op) const;
Dconstant_folding.cc2745 TensorShapeProto* input_tensor_shape, TensorShapeProto* output_tensor_shape, in IsReductionCandidateForSimplification() argument
2760 *output_tensor_shape = output_props.shape(); in IsReductionCandidateForSimplification()
2766 for (int i = 0; i < output_tensor_shape->dim_size(); ++i) { in IsReductionCandidateForSimplification()
2767 if (output_tensor_shape->dim(i).size() < 0) { in IsReductionCandidateForSimplification()
2774 TensorShape(*output_tensor_shape).num_elements(); in IsReductionCandidateForSimplification()
2840 TensorShapeProto input_tensor_shape, output_tensor_shape; in SimplifyReduction() local
2842 *node, properties, &input_tensor_shape, &output_tensor_shape, in SimplifyReduction()
2872 const int new_num_dimensions = output_tensor_shape.dim_size(); in SimplifyReduction()