- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StaticDeviceMgr (0.37 sec)
-
tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc
: device_mgr_(testing::CreateTestingDeviceMgr()), ctx_(testing::CreateTestingEagerContext(device_mgr_.get())) {} EagerContext* context() { return ctx_.get(); } private: std::unique_ptr<StaticDeviceMgr> device_mgr_; EagerContextPtr ctx_; }; class DummyCapture : public TensorHandleConvertible { public: DummyCapture(ImmediateExecutionContext* ctx, int8_t value) : TensorHandleConvertible(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 10.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
namespace mlir { namespace mhlo { namespace { using ::mlir::ModuleOp; using ::tensorflow::Tensor; using ::tsl::StatusOr; using ::xla::XlaComputation; static std::unique_ptr<tensorflow::StaticDeviceMgr> CreateDeviceMgr( const std::string& device_type) { // Register compilation kernels for all registered XLA backends. tensorflow::XlaOpRegistry::RegisterCompilationKernels();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
std::vector<std::unique_ptr<Device>> devices; TF_CHECK_OK(DeviceFactory::AddDevices( session_options, "/job:localhost/replica:0/task:0", &devices)); device_mgr_ = std::make_unique<StaticDeviceMgr>(std::move(devices)); } Status ExtractOutsideCompilationTest( const string &xla_cluster_attr_name, const string &outside_compilation_attr_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 41K bytes - Viewed (0)