Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for Decomposes (0.29 sec)

  1. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.h

      GraphExportConfig export_confs_;
    };
    
    // Decomposes the NodeDef to a set of primitive ops according to the decompose
    // library loaded. Wrap the decomposed result in a FunctionDef.
    absl::StatusOr<FunctionDef> ExpandNode(const NodeDef& node_def,
                                           StringPiece func_name);
    
    // Decomposes the ops in the ModuleOp to a set of primitive ops according to
    // decompose library in the context.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 11:12:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils.h

    limitations under the License.
    ==============================================================================*/
    
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir::quant::stablehlo {
    
    // Decomposes a given floating point value num into a normalized and quantized
    // fraction and an integral power of two.
    LogicalResult QuantizeMultiplier(double double_multiplier,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 07:43:59 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/decompose.go

    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"sort"
    )
    
    // decompose converts phi ops on compound builtin types into phi
    // ops on simple types, then invokes rewrite rules to decompose
    // other ops on those types.
    func decomposeBuiltIn(f *Func) {
    	// Decompose phis
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Op != OpPhi {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateConvertLaunchFuncToTFCallPass();
    
    // A pass that decomposes composite resource operations into primitive ones like
    // ReadVariableOp, AssignVariableOp and other computations to facilitate
    // transformations like resource op lifting.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeResourceOpsPass();
    
    // A pass that decomposes composite resource operations in device cluster
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

    }
    
    def DecomposeResourceOpsPass : Pass<"tf-device-decompose-resource-ops", "mlir::func::FuncOp"> {
      let summary = "Decompose composite resource variable operations into primitive Read/AssignVariableOp and raw computation.";
    
      let description = [{
        A pass that decomposes composite resource operations into primitive ones like
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This transformation pass decomposes dense operations that assume
    // support for hybrid quantization. These cases cover when a dense operation
    // (e.g. matmul) has both quantized and unquantized inputs by dequantizing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/python/op_reg_gen.py

              compose_dec.append(dec)
    
        if not compose_dec:
          # skip a non-composition function
          return
        elif len(compose_dec) > 1:
          raise KeyError('More than one TF ops decomposes for.')
    
        all_dec_args = {}
        for arg_name, arg_value in zip(_COMPOSITE_ARG_LIST, compose_dec[0].args):
          all_dec_args[arg_name] = self.visit(arg_value)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

                                             decomposed_partitioned_call_callees)))
          return failure();
      }
      return success();
    }
    
    // Decomposes stack ops on a region and recursively decomposes called functions.
    // data_var_to_size_var: a mapping from stacks' buffer local variables to size
    // local variables.
    // decomposed_partitioned_call_callees: cache for partitioned call ops' callee
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/passes.h

    // Creates an instance of the TensorFlow Lite dialect QuantizeVariables pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePrepareQuantizeVariablesPass();
    
    // Creates an instance of the TensorFlow Lite pass that decomposes hybrid
    // quantization patterns to the same dense operation with tfl dequantization
    // and quantization patterns.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDecomposeHybridQuantizationPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/passes.td

                   "Is the corresponding integer signed">,
      ];
    }
    def DecomposeHybridQuantizationPass : Pass<"tfl-decompose-hybrid-quantization", "mlir::func::FuncOp"> {
      let summary = "Decomposes hybridge quantization to explicit quantize / dequantize";
      let description = [{
          Decomposes (with explicit quantize/dequantize ops) selected math
          operations which exist in the model with hybrid quantization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top