Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 619 for Levine (0.12 sec)

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

    // RUN: tac-translate -input-mlir -output-mlir -device-specs=NNAPI %s -o - 2>&1 | FileCheck %s
    
    module {
      // CHECK-LABEL: main
      func.func @main(%arg0: tensor<4xf32>, %arg1: tensor<4xf32>) -> tensor<4xf32> {
        %0 = "tfl.squared_difference"(%arg0, %arg1) : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
        func.return %0 : tensor<4xf32>
        // CHECK:  [[VAL_0:%.*]] = tfl.sub %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tests/device-transform-nnapi.mlir

    // RUN: tac-opt-all-backends -tfl-device-transform-nnapi %s -split-input-file -verify-diagnostics | FileCheck %s
    
    func.func @mean_4d_keepdim(%arg0: tensor<1x48x48x512xf32>) -> tensor<1x1x1x512xf32> {
      %cst = arith.constant dense<[1, 2]> : tensor<2xi32>
      %0 = "tfl.mean"(%arg0, %cst) {keep_dims = true} : (tensor<1x48x48x512xf32>, tensor<2xi32>) -> tensor<1x1x1x512xf32>
      func.return %0 : tensor<1x1x1x512xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h

    #define GEN_PASS_DECL_TPUCLUSTERFORMATIONPASS
    #define GEN_PASS_DECL_TPUEXTRACTHEADTAILOUTSIDECOMPILATIONPASS
    #define GEN_PASS_DECL_TPUEXTRACTOUTSIDECOMPILATIONPASS
    #define GEN_PASS_DECL_TPUSHARDINGIDENTIFICATIONPASS
    #define GEN_PASS_DECL_VERIFYCLUSTERINGPASS
    #define GEN_PASS_DECL_XLACLUSTERFORMATIONPASS
    #include "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h.inc"
    
    }  // namespace internal
    }  // namespace tf2xla
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    #define GEN_PASS_DECL_LEGALIZETF
    #define GEN_PASS_DECL_LEGALIZETFCOLLECTIVE
    #define GEN_PASS_DECL_LEGALIZETFMODULEPASS
    #define GEN_PASS_DECL_LEGALIZETFTYPESPASS
    #define GEN_PASS_DECL_TFXLADEVICESPECIFICTRANSFORMS
    #define GEN_PASS_DECL_VERIFYTFXLALEGALIZATION
    #include "tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.h.inc"
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_LEGALIZETFCOMMUNICATIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tfrt/ir/gpu_ops.td

        Op<TFRT_GPU_Dialect, mnemonic, traits> {
    }
    
    // TODO(b/260267885): We may add a device argument when we want to support
    // GPU MIG.
    def TransferToDeviceOp: Gpu_Op<"transfer_to_device"> {
      let summary = "Transfer a CPU tensor to device.";
    
      let description = [{
        Transfer a CPU tensor to device.
    
        Example:
          %device_tensor = gpurt.transfer_to_device %cpu_tensor
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top