Searched refs:val_t (Results 1 – 3 of 3) sorted by relevance
222 Tensor val_t = Tensor(DataTypeToEnum<T>::v(), TensorShape({})); in WriteScalarInternal() local223 val_t.scalar<T>()() = val; in WriteScalarInternal()224 return WriteTensorInternal(key, val_t); in WriteScalarInternal()
96 Tensor val_t = Tensor(DataTypeToEnum<T>::v(), TensorShape({})); in AddScalar() local97 val_t.scalar<T>()() = val; in AddScalar()98 AddTensorInternal(val_t, output); in AddScalar()112 Tensor val_t = Tensor(DataTypeToEnum<T>::v(), in AddVector() local115 val_t.flat<T>()(i) = val[i]; in AddVector()117 AddTensorInternal(val_t, output); in AddVector()
559 Tensor val_t = Tensor(DT_INT64, TensorShape({})); in Encode() local560 val_t.scalar<int64>()() = value_; in Encode()561 *(data->add_tensors()) = val_t; in Encode()