Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 987 for Levine (0.13 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tests/device-transform-gpu.mlir

    // RUN: tac-opt-all-backends -tfl-device-transform-gpu %s -split-input-file -verify-diagnostics | FileCheck %s
    
    func.func @pack(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<2x1xf32> {
      %0 = "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<1xf32>, tensor<1xf32>) -> tensor<2x1xf32>
      func.return %0 : tensor<2x1xf32>
    }
    
    // CHECK:   func @pack(%[[VAL_0:.*]]: tensor<1xf32>, %[[VAL_1:.*]]: tensor<1xf32>) -> tensor<2x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    #define GEN_PASS_DECL_LAYOUTASSIGNMENTPASS
    #define GEN_PASS_DECL_LEGALIZEHLOTOTFPASS
    #define GEN_PASS_DECL_LEGALIZETFGTOTFPASS
    #define GEN_PASS_DECL_LOCALIZEVARHANDLESPASS
    #define GEN_PASS_DECL_LOWERQUANTIZEDPASS
    #define GEN_PASS_DECL_MARKINPUTOUTPUTALIASESPASS
    #define GEN_PASS_DECL_MATERIALIZEPASSTHROUGHOP
    #define GEN_PASS_DECL_MERGECONTROLFLOWPASS
    #define GEN_PASS_DECL_MOVETRANSPOSESPASS
    #define GEN_PASS_DECL_ORDERBYDIALECTPASS
    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/c/experimental/stream_executor/stream_executor.h

    //     OnTFDeviceView(params->device->struct_size);
    //     params->device = { SP_DEVICE_STRUCT_SIZE };
    //     params->device->device_handle = get_my_device_handle(device->ordinal);
    //     params->device->ordinal = params->ordinal;
    //     ...
    //   }
    //
    //   void destroy_device(const SP_Platform* platform, SP_Device* device) {
    //     delete_my_device_handle(device->device_handle);
    //   }
    //
    //   void SE_InitPlugin(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

    #define DEBUG_TYPE "tf-resource-device-inference"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    constexpr char kDeviceAttr[] = "device";
    constexpr char kFuncDeviceAttr[] = "tf.device";
    
    #define GEN_PASS_DEF_RESOURCEDEVICEINFERENCEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // A pass that propagates device assignment of resources on a module. It
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/c/kernels.cc

      if (cc_ctx->op_device_context() == nullptr) {  // CPU Device
        status->status = absl::FailedPreconditionError(
            "Accessing device stream is not supported for a CPU device.");
        return nullptr;
      } else if (!cc_ctx->op_device_context()->IsPluggableDevice()) {
        status->status = absl::FailedPreconditionError(
            "Accessing device stream is only supported for pluggable devices.");
        return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/tests/function_test.cc

    FunctionDef SquareFunc() {
      return FunctionDefHelper::Define(
          // Function Name
          "SquareFunc",
          // Args
          {"x: float"},
          // Returns
          {"y: float"},
          // Attr def
          {},
          // Nodes
          {{/*ret=*/{"y"},
            /*op=*/"Square",
            /*arg=*/{"x"},
            /*attr=*/{{"T", DT_FLOAT}},
            /*dep=*/{},
            /*device=*/"",
            /*name=*/"square"}});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    inline constexpr absl::string_view kDeviceAssignmentAttr = "device_assignment";
    
    // A TPU device for execution alongside its associated host CPU device.
    struct TPUDeviceAndHost {
      TPUDeviceAndHost() = default;
      TPUDeviceAndHost(llvm::StringRef device, llvm::StringRef host)
          : device(device), host(host) {}
    
      std::string device;
      std::string host;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top