Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,265 for converts (1.58 sec)

  1. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

                                      quantizedElementType, converter);
        outConvertedType = converted.getType();
        return converted;
      }
      // Nothing else matched: try to convert a primitive.
      return convertPrimitiveValueAttr(realValue, quantizedElementType, converter,
                                       outConvertedType);
    }
    
    /// Convert an attribute from a type based on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

        }
    
        def "converts to OutgoingVariant when nothing defined"() {
            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 1
    
            def child = variants.first()
            child.displayName == displayName
            child.attributes == ImmutableAttributes.EMPTY
            child.artifacts == allArtifacts
        }
    
        def "converts to OutgoingVariant when artifacts declared"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/helpers_linux.go

    	if milliCPU == 0 {
    		return
    	}
    
    	// we then convert your milliCPU to a value normalized over a period
    	quota = (milliCPU * period) / milliCPUToCPU
    
    	// quota needs to be a minimum of 1ms.
    	if quota < minQuotaPeriod {
    		quota = minQuotaPeriod
    	}
    
    	return
    }
    
    // sharesToMilliCPU converts CpuShares (cpu.shares) to milli-CPU value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/internal/pkgpath/pkgpath.go

    func Run(x int) int {
      return 1
    }
    `
    
    // toSymbolV1 converts a package path using the original mangling scheme.
    func toSymbolV1(ppath string) string {
    	clean := func(r rune) rune {
    		switch {
    		case 'A' <= r && r <= 'Z', 'a' <= r && r <= 'z',
    			'0' <= r && r <= '9':
    			return r
    		}
    		return '_'
    	}
    	return strings.Map(clean, ppath)
    }
    
    // toSymbolV2 converts a package path using the second mangling scheme.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

      module will be written (default: stdout).
    
    
    ### Examples
    
    * To convert [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50)
    model to StableHLO with static input shape `4x3x224x224` for input argument with
    type `tensor<?x3x224x224xf32>`.
    
    ```bash
    tf-to-stablehlo-translate <saved-model-path> --input-arg-shapes=4,3,224,224
    ```
    
    * To convert
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    func (ls Set) Get(label string) string {
    	return ls[label]
    }
    
    // AsSelector converts labels into a selectors. It does not
    // perform any validation, which means the server will reject
    // the request if the Set contains invalid values.
    func (ls Set) AsSelector() Selector {
    	return SelectorFromSet(ls)
    }
    
    // AsValidatedSelector converts labels into a selectors.
    // The Set is validated client-side, which allows to catch errors early.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. pkg/test/util/file/file.go

    func AsStringArray(files ...string) ([]string, error) {
    	out := make([]string, 0, len(files))
    	for _, f := range files {
    		b, err := AsBytes(f)
    		if err != nil {
    			return nil, err
    		}
    		out = append(out, string(b))
    	}
    	return out, nil
    }
    
    // AsStringArrayOrFail calls AsStringOrFail and then converts to string.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            logDeprecation();
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/ToPlannedNodeConverter.java

         */
        boolean isInSamePlan(Node node);
    
        /**
         * Converts a node to a planned node.
         * <p>
         * Expects a node of the {@link #getSupportedNodeType() supported type} that is in the {@link #isInSamePlan(Node) same plan}.
         */
        PlannedNodeInternal convert(Node node, List<? extends NodeIdentity> nodeDependencies);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 15:00:56 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/timestruct.go

    func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
    
    // NsecToTimespec converts a number of nanoseconds into a Timespec.
    func NsecToTimespec(nsec int64) Timespec {
    	sec := nsec / 1e9
    	nsec = nsec % 1e9
    	if nsec < 0 {
    		nsec += 1e9
    		sec--
    	}
    	return setTimespec(sec, nsec)
    }
    
    // TimeToTimespec converts t into a Timespec.
    // On some 32-bit systems the range of valid Timespec values are smaller
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top