Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for PassRegistration (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

                  return !isa<TF::DumpTensorOp>(use.getOwner());
                });
          }
        }
      }
    
      DebuggerType debugger_type_;
      std::string log_dir_path_;
    };
    
    static PassRegistration<AddDumpTensorOpPass> pass;
    
    void AddDumpTensorOpPass::runOnOperation() {
      MLIRContext *ctx = &getContext();
      RewritePatternSet patterns(ctx);
      ModuleOp module = getOperation();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareLiftingPass(
        const OpSet target_opset) {
      return std::make_unique<PrepareLiftingPass>(target_opset);
    }
    
    static PassRegistration<PrepareLiftingPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

    }  // namespace internal
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateFallbackToFlexOpsPass(
        const std::string &mode) {
      return std::make_unique<internal::FallbackToFlexOps>(mode);
    }
    
    static PassRegistration<internal::FallbackToFlexOps> pass([] {
      return CreateFallbackToFlexOpsPass(/*mode=*/internal::kDefaultMode);
    });
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top