Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,701 for converts (0.69 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Describes an artifact version in terms of its components, converts it to/from a string and
     * compares two versions.
     *
     */
    public interface ArtifactVersion extends Comparable<ArtifactVersion> {
        int getMajorVersion();
    
        int getMinorVersion();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Converts tf.Const to arith.constant for statically shaped, non-opaque constants.
    // Needed for QuantizationDriver to recognize constants.
    def ConvertTfConstToArithConst : Pat<
      (TF_ConstOp:$res DenseElementsAttr:$value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // Delta is not necessarily the same type as start and limit.
        auto abs_cast =
            rewriter.create<mhlo::ConvertOp>(op.getLoc(), compute_type, abs);
        auto delta_cast =
            rewriter.create<mhlo::ConvertOp>(op.getLoc(), compute_type, delta);
    
        // Compute the total number of integer steps and convert to the HLO
        // dimension tensor.
        auto normalized =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/FailureFactory.java

     * limitations under the License.
     */
    
    package org.gradle.internal.problems.failure;
    
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * Converts exceptions to their content-based {@link Failure} representation.
     *
     * @see Failure
     */
    @ServiceScope(Scope.Global.class)
    public interface FailureFactory {
    
        Failure create(Throwable failure);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 986 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    def FloatOrDefaultCompare : Constraint<CPred<
      "!$0 || $0.getValue() == ::mlir::mhlo::ComparisonType::FLOAT">>;
    def SameTypeOrDefaultCompare : Constraint<CPred<
      "SameTypeOrDefaultCompare($0, $1)">>;
    
    // Converts a dag of HLOs representing banker rounding (round x.5 to nearest
    // even) to tf.round. This only supports float types because mhlo.floor only
    // supports float types. tf.round with integer input type will become an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

    import org.gradle.internal.declarativedsl.parsing.ParseTestUtil.Parser.parseAsTopLevelBlock
    import kotlin.test.Test
    import kotlin.test.assertEquals
    
    
    object DomTest {
        @Test
        fun `converts a simple language tree to document`() {
            val tree = parseAsTopLevelBlock(
                """
                myFun {
                    a = 1
                    b = f("x", z.f("y"))
                    c = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. operator/pkg/version/version.go

    func IsVersionString(path string) bool {
    	_, err := goversion.NewSemver(path)
    	if err != nil {
    		return false
    	}
    	vs := Version{}
    	return yaml.Unmarshal([]byte(path), &vs) == nil
    }
    
    // TagToVersionString converts an istio container tag into a version string
    func TagToVersionString(path string) (string, error) {
    	path = strings.TrimPrefix(path, releasePrefix)
    	ver, err := goversion.NewSemver(path)
    	if err != nil {
    		return "", err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. src/crypto/internal/boring/hmac.go

    package boring
    
    // #include "goboringcrypto.h"
    import "C"
    import (
    	"bytes"
    	"crypto"
    	"hash"
    	"runtime"
    	"unsafe"
    )
    
    // hashToMD converts a hash.Hash implementation from this package
    // to a BoringCrypto *C.GO_EVP_MD.
    func hashToMD(h hash.Hash) *C.GO_EVP_MD {
    	switch h.(type) {
    	case *sha1Hash:
    		return C._goboringcrypto_EVP_sha1()
    	case *sha224Hash:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/IdGeneratorTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.docs.asciidoctor
    
    import spock.lang.Specification
    
    class IdGeneratorTest extends Specification {
    
        def "converts string to identifier"(String source, String id) {
            expect:
            IdGenerator.generateId(source) == id
    
            where:
            source                   | id
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.h

    #include "mlir/IR/Types.h"  // from @llvm-project
    
    namespace mlir::quant::stablehlo {
    
    // Returns true if the type or its element type is a float type with bit_width
    // > 16.
    bool IsLargeFloatType(Type type);
    
    // Converts large float type to bfloat16. Otherwise returns original type.
    Type ToBfloat16Type(Type type);
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 23:51:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top