Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,196 for Levine (0.15 sec)

  1. tensorflow/compiler/jit/pjrt_tensor_buffer_util.h

      // PjRtTensorBuffer. The PjRtTensorBuffer holds the pointer to the device
      // memory. It also owns the PjRtBuffer. If output_tensor does not use
      // PjRtTensorBuffer and the opaque device memory is the same, update the
      // output_tensor->buf_ so that the same device memory will not be double-free.
      // Otherwise a new Tensor will be created with the PjRtTensorBuffer.
      //
      // TODO(b/289001822): Create a unit test to cover this function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_host_send_device_context.h

      }
    
      void CopyTensorInSameDevice(const Tensor* input_tensor, Device* device,
                                  Tensor* output_tensor,
                                  StatusCallback done) const override {
        done(errors::Internal("device->device copy not implemented."));
      }
    
     private:
      se::Stream* stream_;                        // Not owned.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h

    // after the _TPUCompileMlir op.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateEmbeddingProgramKeyPass();
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_EMBEDDINGSEQUENCINGPASS
    #define GEN_PASS_DECL_EMBEDDINGPIPELININGPASS
    #define GEN_PASS_DECL_EMBEDDINGPROGRAMKEYPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h.inc"
    
    }  // namespace TFDevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h

    // Creates a pass that merges device variable reads/updates into the surrounded
    // TPUExecute node. This allows the execute node to perform in-place variable
    // updates.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTPUMergeVariablesWithExecutePass();
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_TPUMERGEVARIABLESWITHEXECUTEPASS
    #define GEN_PASS_DECL_TPUREWRITEPASS
    #define GEN_PASS_DECL_TPUVARIABLERUNTIMEREFORMATTINGPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h

    // available. It's completely valid to have a device without any metadata
    // attached to it.
    class RuntimeDevices {
      using DeviceNameUtils = ::tensorflow::DeviceNameUtils;
      using ParsedName = ::tensorflow::DeviceNameUtils::ParsedName;
    
     public:
      // Adds a device with and empty metadata. Device can be of any type.
      void AddDevice(const ParsedName& device);
    
      // Adds a GPU device with GPU specific metadata.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_dialect.td

      }];
    }
    
    // This corresponds to tensorflow::Device* .
    def TFDeviceType : DialectType<TensorflowMlrt_Dialect,
        CPred<"$_self.isa<::tensorflow::tf_mlrt::TFDeviceType>()">, "!tf_mlrt.device type">,
        BuildableType<"$_builder.getType<::tensorflow::tf_mlrt::TFDeviceType>()"> {
      let description = [{
        `!tf_mlrt.device type` represents a tensorflow::device.
      }];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_device_helper.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_OPS_DEVICE_HELPER_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_OPS_DEVICE_HELPER_H_
    
    namespace mlir {
    
    class Operation;
    
    namespace TF {
    
    class RuntimeDevices;
    
    // Returns true if at least one GPU device is available at runtime.
    bool CanUseGpuDevice(const RuntimeDevices &devices);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 12 21:57:12 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    // Classes and utilities that work with StreamExecutor C API for internal use.
    // This includes functions used for device registration and interfaces needed
    // for testing.
    #ifndef TENSORFLOW_C_EXPERIMENTAL_STREAM_EXECUTOR_STREAM_EXECUTOR_INTERNAL_H_
    #define TENSORFLOW_C_EXPERIMENTAL_STREAM_EXECUTOR_STREAM_EXECUTOR_INTERNAL_H_
    
    #include "tensorflow/c/experimental/stream_executor/stream_executor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.h

    // and reachable in the call graph from the cluster.
    // For each op walked, `callback` is applied to the op, the root cluster, and
    // the root cluster's host device. `callback` returning WasInterrupted
    // indicates failure.
    // The host device is null when the tpu_cluster HasModelParallelism: The
    // HasModelParallelism case is currently unsupported in combination with
    // outside compilation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/device_attribute_to_launch.cc

    namespace {
    
    constexpr char kDeviceAttr[] = "device";
    
    #define GEN_PASS_DEF_DEVICEATTRIBUTETOLAUNCHPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc"
    
    struct DeviceAttributeToLaunch
        : public impl::DeviceAttributeToLaunchPassBase<DeviceAttributeToLaunch> {
      void runOnOperation() override;
    };
    
    void WrapOpInLaunch(Operation* op, llvm::StringRef device) {
      OpBuilder builder(op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 00:59:46 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top