Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,694 for Levine (0.11 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_COMPILER_MLIR_TF2XLA_API_V1_COMPILE_MLIR_UTIL_H_
    #define TENSORFLOW_COMPILER_MLIR_TF2XLA_API_V1_COMPILE_MLIR_UTIL_H_
    
    #include <memory>
    
    #include "absl/base/attributes.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/StringRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_util.cc

      };
    
      devices.ForEach([&](jit::DeviceId device) {
        if (device_info_cache.IsGpu(device)) {
          if (maybe_gpu_device) {
            multiple_gpu_devices = is_multiple_devices(device, &maybe_gpu_device);
            if (multiple_gpu_devices) return false;
          } else {
            maybe_gpu_device = device;
          }
        } else if (device_info_cache.IsCpu(device)) {
          if (maybe_cpu_device) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test_helper.h

          copy.session_name = std::move(name);
          return copy;
        }
      };
    
      // Runs the MarkForCompilation pass on `graph` after assigning all nodes in
      // `graph` to the CPU device.  To make testing easier, ignores device
      // registration and  _XlaCompile attributes.
      static Status MarkForCompilation(std::unique_ptr<Graph>* graph,
                                       FunctionLibraryDefinition* flib_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 09 19:51:48 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

          parse_options);
    }
    
    void CreateOp::print(OpAsmPrinter &p) {
      CreateOp op = *this;
      p << "(" << op.getInCh() << ") key("
        << op->getAttrOfType<mlir::IntegerAttr>("op_key").getInt() << ") device("
        << op->getAttr("device") << ") " << op->getAttr("op_name") << "()";
    
      fallback_common::PrintExecuteOpCommon(p, op);
      fallback_common::PrintExecuteOpFuncAttribute(p, op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc

    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace TFTPU {
    namespace {
    
    #define GEN_PASS_DEF_TPUCOLOCATECOMPOSITERESOURCEOPSPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // Pass that co-locates resource ops that use composite device resources
    // (packed tensors) with the underlying physical TPU device.
    struct TPUColocateCompositeResourceOps
        : public impl::TPUColocateCompositeResourceOpsPassBase<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 17:41:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

              %c_9 = tf_executor.island wraps "tf.InitializeTableFromTextFileV2"(%o, %arg1) <{delimiter = "\09", key_index = -2 : i64, value_index = -1 : i64, vocab_size = -1 : i64}> {_has_manual_control_dependencies = true, device = ""} : (tensor<!tf_type.resource>, tensor<!tf_type.string>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h"
    
    namespace mlir {
    namespace TFDevice {
    namespace {
    constexpr char kDeviceAttr[] = "device";
    
    #define GEN_PASS_DEF_LAUNCHTODEVICEATTRIBUTEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc"
    
    struct LaunchToDeviceAttributePass
        : public impl::LaunchToDeviceAttributePassBase<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc

                                                          kFuncDeviceAttr)) {
          std::string device = attr.getValue().str();
          tensorflow::DeviceNameUtils::ParsedName parsed_name;
          if (!tensorflow::DeviceNameUtils::ParseFullName(device, &parsed_name)) {
            return read->emitOpError() << "invalid device '" << device << "'";
          }
          is_cpu_read = parsed_name.type == kCpuDeviceType;
          return success();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/immediate_execution_operation.h

      virtual ImmediateExecutionContext* GetContext() const = 0;
    
      // Following two methods are used to support custom device.
      // Return true if the inputs contain custom device tensor handle. It means
      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
      virtual const tensorflow::OpDef* OpDef() const = 0;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 22:40:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_compile_util.h

    #ifndef TENSORFLOW_COMPILER_JIT_XLA_COMPILE_UTIL_H_
    #define TENSORFLOW_COMPILER_JIT_XLA_COMPILE_UTIL_H_
    
    #include <memory>
    #include <string>
    
    #include "tensorflow/compiler/tf2xla/xla_argument.h"
    #include "tensorflow/core/graph/graph.h"
    
    namespace tensorflow {
    // The number of compiler threads to use for asynchronous device compilation.
    inline constexpr int64_t kNumAsyncDeviceCompilerThreads = 10;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top