Home
last modified time | relevance | path

Searched refs:device_name_t (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dprefetching_kernels.cc39 Tensor* device_name_t; in Compute() local
41 ctx->allocate_output(0, TensorShape({}), &device_name_t)); in Compute()
45 device_name_t->scalar<tstring>()() = ctx->device()->name(); in Compute()
/external/tensorflow/tensorflow/core/kernels/
Dfunctional_ops.cc905 Tensor* device_name_t; in Compute() local
907 ctx->allocate_output(0, TensorShape({}), &device_name_t)); in Compute()
917 device_name_t->scalar<int32>()() = index; in Compute()