Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Approximates (0.25 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

    public interface KaTypeProviderMixIn : KaSessionMixIn {
        public val builtinTypes: KaBuiltinTypes
            get() = withValidityAssertion { analysisSession.typeProvider.builtinTypes }
    
        /**
         * Approximates [KaType] with a supertype which can be rendered in a source code
         *
         * Return `null` if the type do not need approximation and can be rendered as is
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/crypto/rsa/rsa.go

    	priv.E = 65537
    
    	if nprimes < 2 {
    		return nil, errors.New("crypto/rsa: GenerateMultiPrimeKey: nprimes must be >= 2")
    	}
    
    	if bits < 64 {
    		primeLimit := float64(uint64(1) << uint(bits/nprimes))
    		// pi approximates the number of primes less than primeLimit
    		pi := primeLimit / (math.Log(primeLimit) - 1)
    		// Generated primes start with 11 (in binary) so we can only
    		// use a quarter of them.
    		pi /= 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        rewriter.replaceOpWithNewOp<TensorScatterUpdateOp>(
            op, result_type, op.getX(), indices, updates);
        return success();
      }
    };
    
    // Approximates lgamma using Lanczos' approximation from
    // "A Precision Approximation of the Gamma Function". SIAM Journal on Numerical
    // Analysis series B. Vol. 1:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractAnalysisApiGetSuperTypesTest.kt

                        }
                        directSuperTypes.print("[direct super types]")
                        approximatedDirectSuperTypes.print("[approximated direct super types]")
                        allSuperTypes.print("[all super types]")
                        approximatedAllSuperTypes.print("[approximated all super types]")
                    }
                }
            }
            testServices.assertions.assertEqualsToTestDataFileSibling(actual)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtPsiTypeProvider.kt

         *
         * @param useSitePosition is used to determine if the given [KaType] needs to be approximated.
         * For instance, if the given type is local yet available in the same scope of use site,
         * we can still use such a local type.
         * Otherwise, e.g., exposed to public as a return type, the resulting type will be approximated accordingly.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

            [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>;
    
    def LegalizeCompositeApproximateAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrTrue),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/trace/threadgen.go

    		// TODO(mknyszek): We don't have a state machine for threads, so approximate
    		// running threads with running Ps.
    		ctx.IncThreadStateCount(ctx.elapsed(start), traceviewer.ThreadStateRunning, 1)
    	}
    	if from.Executing() {
    		start := ev.Time()
    		viewerEv.Name = "proc stop"
    		viewerEv.Ts = ctx.elapsed(start)
    		// TODO(mknyszek): We don't have a state machine for threads, so approximate
    		// running threads with running Ps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/expressionTypeProvider/AbstractHLExpressionTypeTest.kt

            super.configureTest(builder)
            builder.useDirectives(Directives)
        }
    
        object Directives : SimpleDirectivesContainer() {
            val APPROXIMATE_TYPE by stringDirective("approximate expression type")
        }
    
        companion object {
            private val renderer = KaTypeRendererForDebug.WITH_QUALIFIED_NAMES
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

        return custom_call.getCallTargetName() == "mhlo.erf";
      }
      return llvm::isa<chlo::ErfOp>(op);
    }
    
    // Builds a reference implementation of non-approximate GELU.
    func::FuncOp BuildGELUDecomposition(RankedTensorType type,
                                        PatternRewriter& rewriter,
                                        Block* insertion_point) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/cases/info.go

    // (e.g. [ALetter] [ExtendNumLet] [Katakana] [ExtendNumLet] [ALetter] and
    // [ALetter] [Numeric] [MidNum] [Numeric] [ALetter].)
    //
    // Note 2: the rule for Mid is very approximate, but works in most cases. To
    // improve, we could store the categories in the trie value and use a FA to
    // manage breaks. See TODO comment above.
    //
    // Note 3: according to the spec, it is possible for the Extend category to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top