Searched refs:dimvec (Results 1 – 1 of 1) sorted by relevance
208 std::vector<tensorflow::int64> dimvec(num_dims); in TF_NewTensor() local210 dimvec[i] = static_cast<tensorflow::int64>(dims[i]); in TF_NewTensor()234 TF_Tensor* ret = new TF_Tensor{dtype, TensorShape(dimvec), buf}; in TF_NewTensor()637 std::vector<tensorflow::int64> dimvec(dims.size()); in TF_TensorFromTensor() local639 dimvec[i] = dims[i]; in TF_TensorFromTensor()644 reinterpret_cast<const int64_t*>(dimvec.data()), in TF_TensorFromTensor()645 dimvec.size(), base, size, DeleteArray, base); in TF_TensorFromTensor()