Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for r2devices (0.74 sec)

  1. tensorflow/c/eager/c_api.cc

      }
      std::vector<std::unique_ptr<tensorflow::Device>> devices;
      status->status = tensorflow::DeviceFactory::AddDevices(
          opts->session_options.options, "/job:localhost/replica:0/task:0",
          &devices);
      if (!status->status.ok()) return nullptr;
      std::unique_ptr<tensorflow::DeviceMgr> device_mgr(
          new tensorflow::DynamicDeviceMgr(std::move(devices)));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // loop that iterates the dataset and calls the reduction function.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeReduceDatasetPass();
    
    // Create a pass that convert ops that copy tensors between devices, e.g.
    // tf.Identity.
    std::unique_ptr<OperationPass<mlir::func::FuncOp>>
    CreateTensorDeviceCopyConversionPass();
    
    // Returns a pass that folds tf.BroadcastTo nodes with subsequent nodes if they
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

     public:
      void SetUp() override {
        SessionOptions session_options;
        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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

    mlir::PassPipelineRegistration<> replicated_clustering_bridge_v1(
        "tf-replicated-clustering-bridge-v1",
        "Run all the passes involved in transforming a TensorFlow V1 graph before "
        "execution so that it is suitable for targeting devices.",
        CreateReplicatedBridgePipelineV1);
    
    }  // namespace v1
    }  // namespace tf2xla
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. pkg/kubelet/container/runtime.go

    type RunContainerOptions struct {
    	// The environment variables list.
    	Envs []EnvVar
    	// The mounts for the containers.
    	Mounts []Mount
    	// The host devices mapped into the containers.
    	Devices []DeviceInfo
    	// The CDI devices for the container
    	CDIDevices []CDIDevice
    	// The annotations for the container
    	// These annotations are generated by other components (i.e.,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

    #include "tensorflow/core/public/session_options.h"
    
    namespace tensorflow {
    namespace {
    
    class BuildXlaOpsTest : public ::testing::Test {
     protected:
      void SetUp() override {
        // This is needed to register the XLA_* devices.
        CHECK(DeviceFactory::AddDevices(
                  SessionOptions(), "/job:localhost/replica:0/task:0", &devices_)
                  .ok());
      }
    
     private:
      std::vector<std::unique_ptr<Device>> devices_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

          return
        }
        ```
    
        will be rewritten as:
    
        ```mlir
        func @tf_tpu_rewrite(%arg0: tensor<i8>, %arg1: tensor<i8>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device.cc

    #include "tensorflow/core/util/stream_executor_util.h"
    
    namespace tensorflow {
    
    // Default PaddedShapeFn implementation that simply returns the unpadded
    // on-device shape. This is accurate for CPU and GPU devices that neither
    // transpose nor pad tensors.
    Status DefaultPaddedShapeFn(const Tensor& tensor, xla::Shape* shape) {
      const tensorflow::XlaTensor* xla_tensor =
          tensorflow::XlaTensor::FromTensor(&tensor);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    @ElementTypesAreNonnullByDefault
    // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
    // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

      return false;
    }
    
    /* Resources may be merged with an execute op when they are on its device or a
     * `COMPOSITE`. Note that a `COMPOSITE` represents a set of devices, they
     * are typically associated with packed variables. Presently, we assume this
     * set spans all the devices. So, a variable on a `COMPOSITE` will have a local
     * instance on the execute op's device.
     */
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top