Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for set_kind (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

        arg_shapes.emplace_back(tensor_shape);
    
        DataType dtype;
        TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype));
    
        auto metadata_arg = metadata_proto.add_args();
        metadata_arg->set_kind(tpu::TPUCompileMetadataProto::Arg::PARAMETER);
        metadata_arg->set_dtype(dtype);
      }
    
      return absl::OkStatus();
    }
    
    absl::Status SetupReturnValues(mlir::ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      std::vector<TensorShape> arg_shapes = {{1}};
      TPUCompileMetadataProto metadata_proto;
      auto arg = metadata_proto.add_args();
      arg->set_dtype(DataType::DT_FLOAT);
      arg->set_kind(TPUCompileMetadataProto::Arg::PARAMETER);
      metadata_proto.add_retvals();
      bool use_tuple_args = true;
      std::vector<ShardingAndIndex> arg_core_mapping;
      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

        // Set up an arg per arg_shape with the specified type.
        for (int i = 0; i < arg_shapes.size(); ++i) {
          auto metadata_arg = metadata_proto.add_args();
          metadata_arg->set_kind(
              tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
          metadata_arg->set_dtype(dtype);
        }
        // Set up one dummy retval.
        metadata_proto.add_retvals();
        bool use_tuple_args = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. samples/kind-lb/setupkind.sh

    jacob-delgado <******@****.***> 1696273699 -0600
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_list.go

    }
    
    func (u *UnstructuredList) SetAPIVersion(version string) {
    	u.setNestedField(version, "apiVersion")
    }
    
    func (u *UnstructuredList) GetKind() string {
    	return getNestedString(u.Object, "kind")
    }
    
    func (u *UnstructuredList) SetKind(kind string) {
    	u.setNestedField(kind, "kind")
    }
    
    func (u *UnstructuredList) GetResourceVersion() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 04:46:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AccessRule.java

            this.kind = Preconditions.checkNotNull(kind);
            this.pattern = Preconditions.checkNotNull(pattern);
        }
    
        public String getKind() {
            return kind;
        }
    
        public void setKind(String kind) {
            this.kind = kind;
        }
    
        public String getPattern() {
            return pattern;
        }
    
        public void setPattern(String pattern) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

            String callableNameForDocComment = interceptedCallable.getKind() == CallableKindInfo.AFTER_CONSTRUCTOR ? className.simpleName() : interceptedCallable.getCallableName();
            List<ParameterInfo> params = request.getInterceptedCallable().getParameters();
            List<ParameterInfo> methodParameters = params.stream().filter(parameter -> parameter.getKind().isSourceParameter()).collect(Collectors.toList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. samples/kind-lb/README.md

    For example, to create two clusters, run the script two times with the following
    parameters:
    
    ```bash
      ./setupkind.sh --cluster-name cluster1 --ip-space 255 -i dual
      ./setupkind.sh --cluster-name cluster2 --ip-space 245 -i dual
    ```
    
    To setup a dual-stack cluster that prefers IPv6 instead of IPv4 (the default)
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testing/testfieldmanager.go

    func (f *FakeObjectCreater) New(gvk schema.GroupVersionKind) (runtime.Object, error) {
    	u := unstructured.Unstructured{Object: map[string]interface{}{}}
    	u.SetAPIVersion(gvk.GroupVersion().String())
    	u.SetKind(gvk.Kind)
    	return &u, nil
    }
    
    // FakeObjectConvertor implements runtime.ObjectConvertor but it
    // actually does nothing but return its input.
    type FakeObjectConvertor struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/SignatureUtils.java

            return callableInfo.getParameters().stream().anyMatch(it -> it.getKind() == ParameterKindInfo.CALLER_CLASS_NAME);
        }
    
        public static boolean hasInjectVisitorContext(CallableInfo callableInfo) {
            return callableInfo.getParameters().stream().anyMatch(it -> it.getKind() == ParameterKindInfo.INJECT_VISITOR_CONTEXT);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 15:45:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top