Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dlstm_utils.cc57 const std::string& tensor_name, int dim1_size, in CopySubArrayToArray() argument
62 Shape shape = is_bias ? Shape({dim1_size}) : Shape({dim1_size, dim2_size}); in CopySubArrayToArray()
69 start_idx1, start_idx2, buffer, dim2_size, 0, 0, dim1_size, in CopySubArrayToArray()
Dlstm_utils.h95 const std::string& tensor_name, int dim1_size,
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_svdf.cc183 int dim1_size = 1; in MaybeMergeConstNodes() local
206 dim1_size *= shape.dim(d).size(); in MaybeMergeConstNodes()
231 new float[dim0_size * dim1_size]); in MaybeMergeConstNodes()
233 dim0_size, dim1_size, transposed_tensor.get()); in MaybeMergeConstNodes()
235 allocated_tensor_shape->add_dim()->set_size(dim1_size); in MaybeMergeConstNodes()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_util.h440 int64_t dim1_size = values.size(); in CreateR3Projected() local
443 Array3D<NativeT> array(dim0_size, dim1_size, dim2_size); in CreateR3Projected()
455 CHECK_EQ(dim1_size, dim1); in CreateR3Projected()
465 int64_t dim1_size = projection_z; in CreateR4Projected() local
469 Array4D<NativeT> array(dim0_size, dim1_size, dim2_size, dim3_size); in CreateR4Projected()
471 for (int64_t dim1 = 0; dim1 < dim1_size; ++dim1) { in CreateR4Projected()
Dliteral.h1330 const int64_t dim1_size = values.begin()->size(); in PopulateR2() local
1332 CHECK_EQ(dim1_size, shape().dimensions(1)); in PopulateR2()
1341 CHECK_EQ(dim1_size, dim1); in PopulateR2()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcpu_gpu_fusion_test.cc277 const int64_t dim1_size = 1024; in XLA_TEST_F() local
279 ShapeUtil::MakeShapeWithLayout(F32, {rand_dim0_size, dim1_size}, {1, 0}); in XLA_TEST_F()
298 for (int j = 0; j < dim1_size; ++j) { in XLA_TEST_F()