Searched refs:tflat (Results 1 – 3 of 3) sorted by relevance
377 auto tflat = t.flat<string>(); in ConvertNdarrayToTensor() local379 for (int i = 0; i < tflat.dimension(0); ++i) { in ConvertNdarrayToTensor()380 TF_RETURN_IF_ERROR(PyObjectToString(input_data[i], &tflat(i))); in ConvertNdarrayToTensor()388 auto tflat = t.flat<string>(); in ConvertNdarrayToTensor() local391 for (int i = 0; i < tflat.dimension(0); ++i) { in ConvertNdarrayToTensor()392 tflat(i) = string(input_data + i * el_size, el_size); in ConvertNdarrayToTensor()452 auto tflat = t.flat<string>(); in ConvertTensorToNdarray() local454 for (int i = 0; i < tflat.dimension(0); ++i) { in ConvertTensorToNdarray()455 const string& el = tflat(i); in ConvertTensorToNdarray()
4488 tflat = _flatten(t.asList())4489 rep << And(Literal(tt) for tt in tflat)