Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,165 for converts (0.1 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/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)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    		return err
    	}
    	if err := c.convertor.Convert(&parameters, input, nil); err != nil {
    		return err
    	}
    	// if we have defaulter, default the input before converting to output
    	if c.defaulter != nil {
    		c.defaulter.Default(input)
    	}
    	return c.convertor.Convert(input, into, nil)
    }
    
    // EncodeParameters converts the provided object into the to version, then converts that object to url.Values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

      else
        input_tensor.AsProtoField(&tensor_proto);
      return tensor_proto;
    }
    
    static std::string MangleTensor(const Tensor& tensor) {
      return mangling_util::MangleTensor(ConvertToProto(tensor));
    }
    
    // Converts a TensorFlow tensor into an MLIR elements attribute.
    template <typename T>
    absl::StatusOr<ElementsAttr> ConvertFlatTensor(const Tensor& input_tensor,
                                                   ShapedType type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/helpers.go

    	return runtimeapi.Protocol_TCP
    }
    
    // toKubeContainer converts runtimeapi.Container to kubecontainer.Container.
    func (m *kubeGenericRuntimeManager) toKubeContainer(c *runtimeapi.Container) (*kubecontainer.Container, error) {
    	if c == nil || c.Id == "" || c.Image == nil {
    		return nil, fmt.Errorf("unable to convert a nil pointer to a runtime container")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/helpers_linux.go

    		period = QuotaPeriod
    	}
    
    	// 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
    }
    
    // MilliCPUToShares converts the milliCPU to CFS shares.
    func MilliCPUToShares(milliCPU int64) uint64 {
    	if milliCPU == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

    }
    
    def ConvertFuncToBfloat16Pass : Pass<"stablehlo-convert-func-to-bfloat16", "mlir::func::FuncOp"> {
      let summary = "Convert a StableHLO function to bfloat16";
      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    def ConvertXlaCallModuleOpToBfloat16Pass : Pass<"stablehlo-convert-xla-call-module-op-to-bfloat16", "mlir::func::FuncOp"> {
      let summary = "Convert serialized XlaCallModuleOp to bfloat16";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/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) {
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy

        }
    
        /**
         * Each project produces a 'blue' variant, and has a `resolve` task that resolves the 'green' variant and a transform that converts 'blue' to 'red'
         * and another transform that converts 'red' to 'green'.
         * By default the 'blue' variant will contain a single file, and the transform will produce a single 'green' file from this.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 15:06:39 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // the module.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStripNoinlineAttributePass();
    
    // Converts tensor list operations into operations on buffers and sizes. Needs
    // static shapes and known max element count.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTensorListOpsDecompositionPass();
    
    // Converts tensor array ops into operations on local variables, which can later
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
Back to top