Home
last modified time | relevance | path

Searched refs:SetDeviceName (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_operation_test.cc35 TF_ASSERT_OK(op->SetDeviceName("/device:DONTHAVE")); in TEST()
38 TF_ASSERT_OK(op->SetDeviceName("")); in TEST()
41 TF_ASSERT_OK(op->SetDeviceName("/job:localhost")); in TEST()
44 EXPECT_NE(Status::OK(), op->SetDeviceName("/not/a/valid/name")); in TEST()
Deager_operation.cc349 return SetDeviceName(device_name); in Reset()
449 Status EagerOperation::SetDeviceName(const char* c_name) { in SetDeviceName() function in tensorflow::EagerOperation
Dmkl_eager_op_rewrite.cc162 return (*new_mkl_op)->SetDeviceName(device_name.c_str()); in SetupNewOp()
Deager_operation.h70 Status SetDeviceName(const char* name) override;
/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_handler.cc90 void NnApiHandler::SetDeviceName(const std::string& name) { in SetDeviceName() function in tflite::nnapi::NnApiHandler
97 NnApiHandler::SetDeviceName(name); in GetDeviceNameReturnsName()
103 NnApiHandler::SetDeviceName(name); in SetNnapiSupportedDevice()
Dnnapi_handler.h312 static void SetDeviceName(const std::string& name);
/external/tensorflow/tensorflow/c/experimental/op_handler/
Dwrapper_operation.cc37 Status WrapperOperation::SetDeviceName(const char* name) { in SetDeviceName() function in tensorflow::WrapperOperation
38 return parent_op_->SetDeviceName(name); in SetDeviceName()
Dwrapper_operation.h33 Status SetDeviceName(const char* name) override;
/external/tensorflow/tensorflow/c/experimental/gradients/tape/
Dtape_operation.cc50 Status TapeOperation::SetDeviceName(const char* name) { in SetDeviceName() function in tensorflow::gradients::TapeOperation
51 return parent_op_->SetDeviceName(name); in SetDeviceName()
Dtape_operation.h30 Status SetDeviceName(const char* name) override;
/external/tensorflow/tensorflow/c/eager/
Dabstract_operation.h80 virtual Status SetDeviceName(const char* name) = 0;
Dc_api_unified_experimental_graph.cc128 Status SetDeviceName(const char* name) override { in SetDeviceName() function in tensorflow::tracing::graph::GraphOperation
Dc_api.cc665 status->status = tensorflow::unwrap(op)->SetDeviceName(device_name); in TFE_OpSetDevice()
/external/tensorflow/tensorflow/python/framework/experimental/
Dunified_api.cc205 Status s = self->SetDeviceName(name); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
Dc_api_unified_experimental_mlir.cc146 Status SetDeviceName(const char* name) override;
450 Status MlirAbstractOp::SetDeviceName(const char* name) { in SetDeviceName() function in mlir::TF::__anon3f449e090111::MlirAbstractOp
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dpartially_revived_objects.cc410 TF_RETURN_IF_ERROR(function_op->SetDeviceName(resource.device.c_str())); in CreateAllResourceHandles()