Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for PassRegistration (0.33 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createFoldBroadcastPass() {
      return std::make_unique<FoldBroadcastPass>();
    }
    
    static PassRegistration<FoldBroadcastPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/quantize.cc

    struct QuantizePass : public impl::QuantizePassBase<QuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizePass)
    
      // Constructor used by the PassRegistration and only used by test.
      explicit QuantizePass() { quant_specs.inference_type = tensorflow::DT_QINT8; }
    
      // Constructor used by manually creating the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

      save_func_op.erase();
    }
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateMergeSaveFunctionOpsToMainPass() {
      return std::make_unique<MergeSaveFunctionOpsToMainPass>();
    }
    
    static PassRegistration<MergeSaveFunctionOpsToMainPass> pass([] {
      return CreateMergeSaveFunctionOpsToMainPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

        }
      }
    };
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLegalizeTFXlaCallModuleToStablehloPass() {
      return std::make_unique<TFXlaCallModuleOpToStablehloPass>();
    }
    
    static PassRegistration<TFXlaCallModuleOpToStablehloPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        const bool enable_per_channel_quantization) {
      return std::make_unique<PreprocessOpPass>(op_set, quantization_method,
                                                enable_per_channel_quantization);
    }
    
    static PassRegistration<PreprocessOpPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

            calibration_parameters.set_num_bins(512);
            calib_opts_.mutable_calibration_parameters()->CopyFrom(
                calibration_parameters);
            break;
          }
        }
      }
    };
    
    static PassRegistration<InsertCustomAggregationOpsPass> pass;
    
    class AddCustomAggregationOp : public RewritePattern {
     public:
      // Does not take ownership of context, which must refer to a valid value that
      // outlives this object.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTfXlaOpToTfOpPass() {
      return std::make_unique<ConvertTfXlaOpToTfOpPass>();
    }
    
    static PassRegistration<ConvertTfXlaOpToTfOpPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc

    std::unique_ptr<OperationPass<ModuleOp>> CreateAlternativeSubgraphPass(
        llvm::ArrayRef<std::string> device_specs) {
      return std::make_unique<AlternativeSubgraphPass>(device_specs);
    }
    
    static PassRegistration<AlternativeSubgraphPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

        bool skip_raise_cpu_ops, bool ignore_inference_type) {
      return std::make_unique<RaiseTargetSubgraphsPass>(skip_raise_cpu_ops,
                                                        ignore_inference_type);
    }
    
    static PassRegistration<RaiseTargetSubgraphsPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

      return erase_indices.any();
    }
    
    void ReduceWhileOperandsPass::runOnOperation() {
      auto fn = getOperation();
      fn.walk([&](TFL::WhileOp while_op) { ReduceWhileOperands(while_op); });
    }
    
    static PassRegistration<ReduceWhileOperandsPass> pass;
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateReduceWhileOperandsPass() {
      return std::make_unique<ReduceWhileOperandsPass>();
    }
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top