Home
last modified time | relevance | path

Searched refs:ReplaceDim (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/ops/
Dbatch_ops.cc63 c->ReplaceDim(in_shapes[i], 0, c->UnknownDim(), &out_shapes[i])); in __anon130e45de0102()
86 c->ReplaceDim(c->input(0), 0, c->UnknownDim(), &out_shape)); in __anon130e45de0202()
Dspectral_ops.cc94 TF_RETURN_IF_ERROR(c->ReplaceDim(out, -rank + i, c->UnknownDim(), &out)); in RFFTShape()
103 TF_RETURN_IF_ERROR(c->ReplaceDim(out, -rank + i, c->MakeDim(dim), &out)); in RFFTShape()
Dimage_ops.cc105 TF_RETURN_IF_ERROR(c->ReplaceDim(input, -1, last_dim, &out)); in ColorspaceShapeFn()
336 TF_RETURN_IF_ERROR(c->ReplaceDim(input, 1, c->UnknownDim(), &input)); in __anon6a71d27f0602()
337 TF_RETURN_IF_ERROR(c->ReplaceDim(input, 2, c->UnknownDim(), &input)); in __anon6a71d27f0602()
341 c->ReplaceDim(input, 1, c->MakeDim(size_vec(0)), &input)); in __anon6a71d27f0602()
343 c->ReplaceDim(input, 2, c->MakeDim(size_vec(1)), &input)); in __anon6a71d27f0602()
Dnn_ops.cc121 TF_RETURN_IF_ERROR(c->ReplaceDim(input, 3, last_dim, &out)); in __anon3e672dd80302()
155 TF_RETURN_IF_ERROR(c->ReplaceDim(input, 3, last_dim, &dx)); in __anon3e672dd80402()
366 TF_RETURN_IF_ERROR(c->ReplaceDim(resized, 1, new_height, &resized)); in CommonFusedConvCalculations()
367 TF_RETURN_IF_ERROR(c->ReplaceDim(resized, 2, new_width, &resized)); in CommonFusedConvCalculations()
1151 TF_RETURN_IF_ERROR(c->ReplaceDim(features, 0, batch_size, &features)); in __anon3e672dd82202()
1540 TF_RETURN_IF_ERROR(c->ReplaceDim(input, 3, last_dim, &out)); in __anon3e672dd83002()
2407 TF_RETURN_IF_ERROR(c->ReplaceDim(x, 3, channel_dim, &y)); in __anon3e672dd83e02()
2409 TF_RETURN_IF_ERROR(c->ReplaceDim(x, 1, channel_dim, &y)); in __anon3e672dd83e02()
2481 c->ReplaceDim(y_backprop, 3, channel_dim, &x_backprop)); in __anon3e672dd83f02()
2484 c->ReplaceDim(y_backprop, 1, channel_dim, &x_backprop)); in __anon3e672dd83f02()
Dctc_ops.cc57 TF_RETURN_IF_ERROR(c->ReplaceDim(inputs, 1, batch_size, &inputs)); in __anon78c05cd60102()
Dcontrol_flow_ops.cc106 TF_RETURN_IF_ERROR(c->ReplaceDim(out, d, c->UnknownDim(), &out)); in MergeShape()
Darray_ops.cc249 c->ReplaceDim(out, out_unknown_idx, inferred_dim, &out)); in SetOutputShapeForReshape()
267 c->ReplaceDim(out, out_unknown_idx, unknown_in_dim, &out)); in SetOutputShapeForReshape()
295 TF_RETURN_IF_ERROR(c->ReplaceDim( in __anon7c94107b0202()
497 c->ReplaceDim(out, out_rank - i - 1, out_dim, &out)); in __anon7c94107b0702()
589 c->ReplaceDim(input, split_dim, split_dim_size, &out)); in __anon7c94107b0a02()
626 TF_RETURN_IF_ERROR(c->ReplaceDim(output_shape, in __anon7c94107b0b02()
678 c->ReplaceDim(input, split_dim, c->MakeDim(size), &output_shape)); in __anon7c94107b0b02()
1507 c->ReplaceDim(input, batch_dim, batch_dim_dim, &output_shape)); in __anon7c94107b2402()
Dlookup_ops.cc136 c->ReplaceDim(keys, keys_rank - key_suffix_rank + d, dim, &keys)); in ValidateTableResourceHandle()
Dtraining_ops.cc53 c->ReplaceDim(grad, 0, c->UnknownDim(), &grad_unknown_first)); in HandleGradAndIndicesInputs()
Dmath_ops.cc1702 c->ReplaceDim(output, rank - 1, inferred_dim, &output)); in __anonb22bfa861402()
/external/tensorflow/tensorflow/contrib/coder/ops/
Dcoder_ops.cc130 TF_RETURN_IF_ERROR(c->ReplaceDim(in, -1, last, &out)); in __anon8696facd0202()
/external/tensorflow/tensorflow/contrib/mpi_collectives/ops/
Dmpi_ops.cc109 c->ReplaceDim(c->input(0), 0, c->UnknownDim(), &output)); in __anon107d6f1b0502()
/external/tensorflow/tensorflow/contrib/reduce_slice_ops/ops/
Dreduce_slice_ops.cc58 TF_RETURN_IF_ERROR(c->ReplaceDim(handle, axis, dim_axis, &handle)); in ReduceSliceShapeFn()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference_test.cc908 TEST_F(ShapeInferenceTest, ReplaceDim) { in TEST_F() argument
917 EXPECT_TRUE(c.ReplaceDim(in, 0, c.Dim(in, 1), &replaced).ok()); in TEST_F()
919 EXPECT_TRUE(c.ReplaceDim(in, 2, c.Dim(in, 1), &replaced).ok()); in TEST_F()
921 EXPECT_TRUE(c.ReplaceDim(in, 1, c.Dim(in, 2), &replaced).ok()); in TEST_F()
923 EXPECT_TRUE(c.ReplaceDim(unknown, 0, c.Dim(in, 1), &replaced).ok()); in TEST_F()
927 EXPECT_TRUE(c.ReplaceDim(in, -1, c.Dim(in, 1), &replaced).ok()); in TEST_F()
929 EXPECT_TRUE(c.ReplaceDim(unknown, -1, c.Dim(in, 1), &replaced).ok()); in TEST_F()
933 EXPECT_FALSE(c.ReplaceDim(in, 3, c.Dim(in, 1), &replaced).ok()); in TEST_F()
936 EXPECT_FALSE(c.ReplaceDim(in, -4, c.Dim(in, 1), &replaced).ok()); in TEST_F()
Dshape_inference.h453 Status ReplaceDim(ShapeHandle s, int64 dim_index, DimensionHandle new_dim,
Dcommon_shape_fns.cc814 TF_RETURN_IF_ERROR(c->ReplaceDim(x, channel_dim_index, channel_dim, &y)); in FusedBatchNormShape()
853 c->ReplaceDim(y_backprop, channel_dim_index, channel_dim, &x_backprop)); in FusedBatchNormGradShape()
Dshape_inference.cc711 Status InferenceContext::ReplaceDim(ShapeHandle s, int64 dim_index_in, in ReplaceDim() function in tensorflow::shape_inference::InferenceContext
/external/tensorflow/tensorflow/contrib/mpi_collectives/
Dmpi_ops.cc1204 c->ReplaceDim(c->input(0), 0, c->UnknownDim(), &output)); in __anon976d40da0a02()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc947 TF_CHECK_OK(ctx->ReplaceDim(relaxed, d, new_dim, &relaxed)); in OutputAsUnion()