Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,694 for Levine (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/device_util.h

    // `tf.devices` dictionary attribute with a full device name as a key, and
    // device metadata as a value.
    //
    // Device names added in full parsed device form:
    //   /job:<name>/replica:<replica>/task:<task>/device:<type>:<device_num>
    //
    // Supported device metadata types:
    // (1) GpuDeviceMetadata: GPU device compute capability.
    void AddDevicesToOp(mlir::Operation* op, const DeviceSet* device_set);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 05 20:02:33 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/summary_op_benchmark_test.cc

    }
    
    // Macro used to parse initializer list for tensorshape
    #define DIMARGS(...) \
      { __VA_ARGS__ }
    // // Random parameters for testing
    constexpr char longTagParam[] = "LONGTAG____________________________";
    constexpr float largeValueParam = 2352352.2623433;
    
    #define BM_ScalarSummaryDev(device, dims, name, tag, value)                 \
      void BM_ScalarSummary##name##device(::testing::benchmark::State& state) { \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/custom_device_testutil.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_ops_on_regular_devices.cc

                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaSvd").Device(DEVICE),                       \
                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaDot").Device(DEVICE),                       \
                              XlaCompileOnDemandOp);                               \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 19 19:55:14 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/pjrt_device_context.h

      void CopyCPUTensorToDevice(const Tensor* cpu_tensor, Device* device,
                                 Tensor* device_tensor, StatusCallback done,
                                 bool sync_dst_compute) const override;
      void CopyDeviceTensorToCPU(const Tensor* device_tensor,
                                 absl::string_view tensor_name, Device* device,
                                 Tensor* cpu_tensor, StatusCallback done) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 19 19:27:39 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_host_recv_device_context.h

                                 StringPiece tensor_name, Device* device,
                                 Tensor* cpu_tensor, StatusCallback done) override;
    
      void CopyTensorInSameDevice(const Tensor* input_tensor, Device* device,
                                  Tensor* output_tensor,
                                  StatusCallback done) const override {
        done(errors::Internal("device->device copy not implemented."));
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top