Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,288 for converts (0.85 sec)

  1. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/registry.go

    }
    
    // evaluatorsByGroupResource converts a list of evaluators to a map by group resource.
    func evaluatorsByGroupResource(items []quota.Evaluator) map[schema.GroupResource]quota.Evaluator {
    	result := map[schema.GroupResource]quota.Evaluator{}
    	for _, item := range items {
    		result[item.GroupResource()] = item
    	}
    	return result
    }
    
    // evaluatorsList converts a map of evaluators to list
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributesToMapConverter.java

    import org.gradle.api.attributes.AttributeContainer;
    
    import java.util.Arrays;
    import java.util.Map;
    
    /**
     * Converts attributes to a stringy map preserving the order.
     */
    public class AttributesToMapConverter {
    
        private AttributesToMapConverter() {}
    
        /**
         * Converts attributes to a stringy map preserving the order.
         */
        public static Map<String, String> convertToMap(AttributeContainer attributes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

            }
            return py::bytes(module_bytecode.value());
          },
          R"pbdoc(
            Converts a TensorFlow SavedModel into StableHLO bytecode.
    
            * input-path: The path to the input TensorFlow SavedModel.
            * exported-model-signatures: Comma-separated list of exported model
              signatures to convert.
            * tag_names: Comma-separated list of tags for loading SavedModel.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. pilot/pkg/util/protoconv/protoconv.go

    	"google.golang.org/protobuf/types/known/anypb"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/log"
    )
    
    // MessageToAnyWithError converts from proto message to proto Any
    func MessageToAnyWithError(msg proto.Message) (*anypb.Any, error) {
    	b, err := marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return &anypb.Any{
    		// nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 04:55:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.h

    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    
    namespace mlir {
    namespace quantfork {
    
    /// Converts per-layer FakeQuant attributes to the corresponding type.
    /// In the event that the parameters cannot be converted, returns a nullptr
    /// convertible Type and issues an appropriate error.
    /// Note that there are multiple variants of a per-layer FakeQuant op, so
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/xla_call_module_to_call.cc

    namespace {
    
    // Converts XlaCallModuleOps to func.call.
    class XlaCallModuleToCallPass
        : public impl::XlaCallModuleToCallPassBase<XlaCallModuleToCallPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(XlaCallModuleToCallPass)
    
      explicit XlaCallModuleToCallPass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    // Converts XlaCallModuleOps to func.call.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc

        if (auto result_constraint = results.GetConstraint(op->getResult(0))) {
          // `test.OpA` converts shape constraint to rank constraint.
          if (is_op_a && *result_constraint == ValueConstraint::kShape)
            operands.Insert(op->getOperand(0), ValueConstraint::kRank);
    
          // `test.OpB` converts value constraint to shape constraint.
          if (*result_constraint == ValueConstraint::kValue)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    		converter:        converter,
    		selectableFields: selectableFields,
    	}
    	return &safeConverterWrapper{unsafe}, unsafe, nil
    }
    
    // crConverterInterface is the interface all cr converters must implement
    type crConverterInterface interface {
    	// Convert converts in object to the given gvk and returns the converted object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            path('a:b').child("c") == path("a:b:c")
        }
    
        def "converts relative path to absolute path"() {
            when:
            def path = path(':')
    
            then:
            path.absolutePath('path') == ':path'
    
            when:
            path = Path.path(':sub')
    
            then:
            path.absolutePath('path') == ':sub:path'
        }
    
        def "converts absolute path to absolute path"() {
            def path = path(':')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. 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)
Back to top