Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _float_output_fn (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py

                _format_snake_case_op_name(quantized_op))
    
        # Add suffix based on output type.
        suffix = '_fn'
        if len(arguments) > 1 and arguments[1] == 'f32':
          suffix = '_float_output_fn'
        function_name += suffix
    
        module = re.sub(compiled_regex, function_name, module, count=1)
      return module
    
    
    def main(_: Sequence[str]) -> None:
      namespaces = _NAMESPACE.value.split('::')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 20 01:38:06 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

    constexpr StringRef kQuantizedOpsAttribute = "tf_quant.quantized_ops";
    constexpr StringRef kCompositeFuncPrefix = "composite_";
    constexpr StringRef kQuantizedFuncPrefix = "quantized_";
    constexpr StringRef kFloatOutputFuncSuffix = "_float_output_fn";
    constexpr StringRef kHybridFuncSuffix = "_hybrid_fn";
    
    class QuantizeCompositeFunctionsPass
        : public mlir::PassWrapper<QuantizeCompositeFunctionsPass,
                                   OperationPass<ModuleOp>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top