Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for newResults (0.26 sec)

  1. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

        }
    
        auto newResults = rewriter
                              .create<SrcOp>(loc, newResultTys, newOperands,
                                             op->getAttrDictionary().getValue())
                              .getOperation()
                              ->getResults();
    
        SmallVector<Value> replaceResults;
        for (int i = 0; i < newResults.size(); i++) {
          Value result = newResults[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    		t.SetHasShape(true)
    	}
    	return t
    }
    
    func newResults(types []*Type) *Type {
    	t := newType(TRESULTS)
    	t.extra.(*Results).Types = types
    	return t
    }
    
    func NewResults(types []*Type) *Type {
    	if len(types) == 1 && types[0] == TypeMem {
    		return TypeResultMem
    	}
    	return newResults(types)
    }
    
    func newSSA(name string) *Type {
    	t := newType(TSSA)
    	t.extra = name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/expand_calls.go

    		// Break aggregate args passed to call into smaller pieces.
    		x.rewriteCallArgs(v, argStart)
    		v.Op = newOp
    		rts := abi.RegisterTypes(v.Aux.(*AuxCall).abiInfo.OutParams())
    		v.Type = types.NewResults(append(rts, types.TypeMem))
    	}
    
    	// Rewrite calls
    	for _, v := range calls {
    		switch v.Op {
    		case OpStaticLECall:
    			rewriteCall(v, OpStaticCall, 0)
    		case OpTailLECall:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/op.go

    func (a *AuxCall) LateExpansionResultType() *types.Type {
    	var tys []*types.Type
    	for i := int64(0); i < a.NResults(); i++ {
    		tys = append(tys, a.TypeOfResult(i))
    	}
    	tys = append(tys, types.TypeMem)
    	return types.NewResults(tys)
    }
    
    // NArgs returns the number of arguments (including receiver, if there is one).
    func (a *AuxCall) NArgs() int64 {
    	return int64(len(a.abiInfo.InParams()))
    }
    
    // String returns "AuxCall{<fn>}"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

        Operation *new_op = rewriter.create(state);
        llvm::SmallVector<Value, 4> new_results = new_op->getResults();
    
        // Add qint->int CastOp after output result if its original type is qint and
        // its users are not all qint->int CastOps.
        for (int i = 0; i < new_results.size(); ++i) {
          Value &result = new_results[i];
          if (IsIllegalType(result.getType()) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformedVariantFactory.java

            if (result == null) {
                ResolvedArtifactSet newResult = factory.create(componentIdentifier, sourceVariant, variantDefinition, dependenciesResolverFactory);
                result = variants.putIfAbsent(variantKey, newResult);
                if (result == null) {
                    result = newResult;
                }
            }
            return result;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:35:20 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

          return failure();
        }
    
        // Update the results.
        SmallVector<Type, 4> new_results;
        if (failed(getTypeConverter()->convertTypes(op->getResultTypes(),
                                                    new_results)))
          return failure();
    
        // Update the regions. The dialect conversion framework wants new regions to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java

            }
    
            ExecResultImpl newResult = new ExecResultImpl(exitValue, execExceptionFor(failureCause, currentState), displayName);
            if (!currentState.isTerminal() && newState != ExecHandleState.DETACHED) {
                try {
                    broadcast.getSource().executionFinished(this, newResult);
                } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractCrossBuildPerformanceTestRunner.groovy

            PerformanceTestJvmOptions.normalizeJvmOptions(jvmOptions)
        }
    
        abstract R newResult()
    
        R run() {
            assert !specs.empty
            assert testId
    
            Assume.assumeTrue(TestScenarioSelector.shouldRun(testId))
            TestProjects.validateTestProject(testProject)
    
            def results = newResult()
    
            try {
                runAllSpecifications(results)
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        // a tensor_list, "tfr.get_element" op is used to extract the required TF
        // op result.
        llvm::SmallVector<Value, 4> new_results;
        for (auto res : llvm::enumerate(compose_func_type.getResults())) {
          if (mlir::dyn_cast<TFRTensorType>(res.value())) {
            new_results.push_back(new_op.getResult(res.index()));
          } else if (auto list_type =
                         mlir::dyn_cast<TFRTensorListType>(res.value())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top