Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for tfd (0.05 sec)

  1. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.td

          %out_c, %out_tensor = "tfd.delegate_kernel"(
            %in_c, %in1_tensor, %in2_tensor) {
            _name = "MatMul",
            attr1_name = "transpose_a", attr1_value = "bool$false",
            attr2_name = "transpose_b", attr2_value = "bool$false"
          } : (!tfrt.chain, !tfd.tf_tensor, !tfd.tf_tensor) -> (
            !tfrt.chain, !tfd.tf_tensor)
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_combine.cc

    #include "tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.h"
    
    // This optimizes the following scenario:
    // %tft0, %c2 = "tfd.move_dht_to_tft"(%dht0, %c1)
    //     : (!dht.host_tensor, !tfrt.chain) -> (!tfd.tf_tensor, !tfrt.chain)
    // %dht1, %c3 = "tfd.convert_tft_to_dht"(%tft0, %c2)
    //     : (!tfd.tf_tensor, !tfrt.chain) -> (!dht.host_tensor, !tfrt.chain)
    // some_op %dht1, %c3
    //
    // becomes
    // some_op %dht0, %c1
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 09 12:09:19 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.cc

    namespace mlir {
    namespace tfd {
    
    //===----------------------------------------------------------------------===//
    // TfrtDelegate Dialect
    //===----------------------------------------------------------------------===//
    
    RuntimeFallbackDialect::RuntimeFallbackDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfd", context, TypeID::get<RuntimeFallbackDialect>()) {
      allowUnknownTypes();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.h

    #include "tfrt/tensor/opdefs/tensor.h"  // from @tf_runtime
    
    namespace mlir {
    namespace tfd {
    
    // Dialect for TFRT delegate operations.
    class RuntimeFallbackDialect : public Dialect {
     public:
      explicit RuntimeFallbackDialect(MLIRContext* context);
      static StringRef getDialectNamespace() { return "tfd"; }
    };
    
    }  // namespace tfd
    }  // namespace mlir
    
    #define GET_OP_CLASSES
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

                                  diag) { LOG(ERROR) << diag.message(); },
          tfrt::CreateMallocAllocator(),
          tfrt::CreateMultiThreadedWorkQueue(16, 16));
      CHECK(corert);
      auto fallback_op_handler = tensorflow::tfd::CreateKernelFallbackOpHandler(
          corert->get(), corert->get()->GetHostContext()->GetHostDeviceRef());
      CHECK(fallback_op_handler);
      corert.get()->RegisterOpHandler("tfkernel", fallback_op_handler.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

          resource_context_
              .GetOrCreateResource<tensorflow::tfd::EagerContextResource>(
                  tensorflow::tfd::kEagerContextResourceName);
      auto expected_eager_context = eager_context_resource->GetTFEagerContext();
      auto* eager_context = expected_eager_context.get();
    
      // Initialize fallback kernels state with a custom intra-op thread pool.
      auto status = tensorflow::tfd::SetUpKernelFallbackCompatRequestContext(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top