Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for EagerContext (0.12 sec)

  1. tensorflow/c/experimental/saved_model/core/test_utils.cc

      return std::make_unique<StaticDeviceMgr>(
          DeviceFactory::NewDevice("CPU", {}, "/job:localhost/replica:0/task:0"));
    }
    
    EagerContextPtr CreateTestingEagerContext(DeviceMgr* device_mgr) {
      return EagerContextPtr(new EagerContext(
          SessionOptions(),
          tensorflow::ContextDevicePlacementPolicy::DEVICE_PLACEMENT_SILENT,
          /* async= */ false, device_mgr,
          /* device_mgr_owned= */ false, /* rendezvous= */ nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      // Build an ExecutionContext from the HostContext.
      auto builder = RequestContextBuilder(host_context_.get(), &resource_context_);
    
      // Get tensorflow::EagerContext for the kernel fallback.
      auto* eager_context_resource =
          resource_context_
              .GetOrCreateResource<tensorflow::tfd::EagerContextResource>(
                  tensorflow::tfd::kEagerContextResourceName);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.td

      let summary = "eager context initialization operation";
      let description = [{
        The "tfd.init_eager_context" operation takes an input chain, creates and
        initializes the TF EagerContext and returns an output chain.
    
        Example:
          %c1 = "tfd.init_eager_context"(%c0): (!tfrt.chain) -> !tfrt.chain
      }];
    
      let arguments = (ins TFRT_ChainType);
      let results = (outs TFRT_ChainType);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top