Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,733 for converts (0.2 sec)

  1. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        }
    
        /**
         * Parses a sequence of XML elements and converts them to the appropriate array type.
         *
         * @param parser The XML parser
         * @return Converted array instance
         */
        private Object parseArray(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            // convert to a collection first then convert that into an array
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/quantization/ir/Passes.td

    def QuantConvertConst : Pass<"quant-convert-const", "func::FuncOp"> {
      let summary = "Converts constants followed by qbarrier to actual quantized "
                    "values";
      let constructor = "mlir::quantfork::createConvertConstPass()";
    }
    
    def QuantConvertSimulatedQuant
        : Pass<"quant-convert-simulated-quantization", "func::FuncOp"> {
      let summary = "Converts training-time simulated quantization ops to "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

      "CreateXlaDotV2OpFromTfEinsumOp($_builder, $_loc, $0...)">;
    
    def IsEinsumOpSupported : Constraint<
      CPred<"IsEinsumOpSupported($0, $1, $2)">,
      "Check if the given einsum op could be converted into a XlaDotV2 op.">;
    
    // Converts inlined Conv2D pattern to TF XlaConvV2 op. This pattern doesn't
    // support non-constant weights.
    def ConvertTFConv2DToXLAConvOp : Pat<
      (TF_Conv2DOp:$conv
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top