Searched refs:MkTensor (Results 1 - 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
H A Dtensor_test.cc1231 Tensor MkTensor(DataType dt, const TensorShape& shape, function in namespace:tensorflow::__anon26278
1252 Tensor x = MkTensor<int>(DT_INT32, TensorShape({5}), {1, 2, 3, 4, 0});
1254 x = MkTensor<int>(DT_INT32, TensorShape({2, 2}), {1, 2, 3, 4, 0});
1256 x = MkTensor<int>(DT_INT32, TensorShape({2, 2, 1, 1}), {1, 2, 3, 4, 0});
1259 x = MkTensor<int>(DT_INT32, TensorShape({0}), {});
1264 Tensor x = MkTensor<float>(DT_FLOAT, TensorShape({5}), {1, 2, 3, 4, 0});
1266 x = MkTensor<float>(DT_FLOAT, TensorShape({2, 2}), {1, 2, 3, 4, 0});
1268 x = MkTensor<float>(DT_FLOAT, TensorShape({2, 2, 1, 1}), {1, 2, 3, 4, 0});
1271 x = MkTensor<float>(DT_FLOAT, TensorShape({0}), {});
1276 Tensor x = MkTensor<boo
[all...]

Completed in 100 milliseconds