Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for Operands (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

            Operation *defining_op = input.get().getDefiningOp();
            if (dyn_cast_or_null<TF::CustomAggregatorOp>(defining_op)) {
              continue;
            }
    
            // Skip calibration when the given operand comes from a constant.
            if (defining_op != nullptr &&
                defining_op->hasTrait<OpTrait::ConstantLike>()) {
              continue;
            }
    
            quantizable_values.push_back(input.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check.go

    func aliasAny() bool {
    	return atomic.LoadInt32(&_aliasAny) >= 0 // default true
    }
    
    // exprInfo stores information about an untyped expression.
    type exprInfo struct {
    	isLhs bool // expression is lhs operand of a shift with delayed type-check
    	mode  operandMode
    	typ   *Basic
    	val   constant.Value // constant value; or nil (if not a constant)
    }
    
    // An environment represents the environment within which an object is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. src/internal/trace/summary.go

    	// happened, then we know that active goroutine unblocked another.
    	// Scribble all these down so we can process them.
    	type unblockEdge struct {
    		operator GoID
    		operand  GoID
    	}
    	var unblockEdges []unblockEdge
    	for _, ev := range events {
    		if ev.Goroutine() == NoGoroutine {
    			continue
    		}
    		if ev.Kind() != EventStateTransition {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

      (TFL_MultinomialOp $logits, $num_samples, (convertIntAttrTo64Bit $seed),
       (convertIntAttrTo64Bit $seed2))>;
    
    def LegalizeXlaDynamicUpdateSlice : Pat<
      (TF_XlaDynamicUpdateSliceOp $operand, $update, $start_indices),
      (TFL_DynamicUpdateSliceOp $operand, $update, $start_indices)>;
    
    def LegalizeAtan2 : Pat<(TF_Atan2Op $y, $x), (TFL_Atan2Op $y, $x)>;
    
    def LegalizeSign : Pat<(TF_SignOp $x), (TFL_SignOp $x)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    void PrepareLiftingPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      auto func = getOperation();
    
      // The pattern includes decomposing batch normalization ops, fusing add/mul
      // with a constant operand to a preceding affine operation.
      RewritePatternSet patterns(ctx);
      populateWithGenerated(patterns);
      patterns.add<RemoveIdentity, ConstantFoldQuantizableOperands>(ctx);
      if (op_set_ != OpSet::XLA) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/decl.go

    			if isValid(under(t)) {
    				check.errorf(typ, InvalidConstType, "invalid constant type %s", t)
    			}
    			obj.typ = Typ[Invalid]
    			return
    		}
    		obj.typ = t
    	}
    
    	// check initialization
    	var x operand
    	if init != nil {
    		if inherited {
    			// The initialization expression is inherited from a previous
    			// constant declaration, and (error) positions refer to that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/go/types/generate_test.go

    	// TODO(gri) needs adjustments for TestObjectString - disabled for now
    	// "object_test.go": func(f *ast.File) { renameImportPath(f, `"cmd/compile/internal/types2"->"go/types"`) },
    	"objset.go": nil,
    	"operand.go": func(f *ast.File) {
    		insertImportPath(f, `"go/token"`)
    		renameImportPath(f, `"cmd/compile/internal/syntax"->"go/ast"`)
    		renameSelectorExprs(f,
    			"syntax.Pos->token.Pos", "syntax.LitKind->token.Token",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top