Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TargetHardwareOpRegistration (0.2 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h

      }
    };
    
    // Register Op capabilities for specific hardware.
    template <typename Hardware, typename Op>
    struct TargetHardwareOpRegistration {
      explicit TargetHardwareOpRegistration(
          std::function<std::unique_ptr<TargetHardwareOperation>()>
              target_hardware_op_factory) {
        // TODO(b/177376459): remove this.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.cc

    };
    std::unique_ptr<TargetHardwareOperation> CreateConcatOp() {
      return std::make_unique<NNAPIConcatOp>();
    }
    
    #define TAC_REGISTER_NNAPI_OP(Op, Create)                                      \
      TargetHardwareOpRegistration<NNAPIHardware, Op> Op##_NNAPIHardware_hardware( \
          Create);
    
    // Op registeration
    TAC_REGISTER_NNAPI_OP(SquaredDifferenceOp, CreateBasicOpNoCost);
    TAC_REGISTER_NNAPI_OP(ConcatenationOp, CreateConcatOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc

    TargetHardwareRegistration<CpuHardware> cpu_hardware("Target device for CPU",
                                                         CreateCpuHardware);
    
    #define TAC_REGISTER_CPU_OP(Op, Create)                                    \
      TargetHardwareOpRegistration<CpuHardware, Op> Op##_CpuHardware_hardware( \
          Create);
    
    // Operation costs on CPU
    
    // Currently used for these ops:
    // tfl.conv_2d / tfl.depthwise_conv_2d / tfl.fully_connected
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

    TargetHardwareRegistration<GpuHardware> gpu_hardware("Target device for GPU",
                                                         CreateGpuHardware);
    
    #define TAC_REGISTER_GPU_OP(Op, Create)                                    \
      TargetHardwareOpRegistration<GpuHardware, Op> Op##_GpuHardware_hardware( \
          Create);
    
    // Currently used for these ops:
    // tfl.Abs / tfl.Average_pool_2d / tfl.Cos / tfl.div / tfl.exp / tfl.hardswish /
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top