- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for set_kind (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
arg->set_dtype(dtype); // TODO(lyandy): Support other arg kinds. if (dtype == tensorflow::DT_RESOURCE) arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::VARIABLE); else arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER); // Populate argument shapes. *arg->mutable_shape() = tensorflow::TensorShapeProto();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go
} func (u *Unstructured) SetAPIVersion(version string) { u.setNestedField(version, "apiVersion") } func (u *Unstructured) GetKind() string { return getNestedString(u.Object, "kind") } func (u *Unstructured) SetKind(kind string) { u.setNestedField(kind, "kind") } func (u *Unstructured) GetNamespace() string { return getNestedString(u.Object, "metadata", "namespace") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 03:26:35 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java
} } private static boolean hasGroovyPropertyRequests(List<CallInterceptionRequest> requests) { return requests.stream().anyMatch(it -> it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_GETTER || it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_SETTER); } @SuppressWarnings("ReturnValueIgnored") private static CodeBlock interceptorClassJavadoc(Collection<CallInterceptionRequest> requests) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 16.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java
CodeBlock result = interceptedCallable.getKind() == CallableKindInfo.STATIC_METHOD ? CodeBlock.of("opcode == $T.INVOKESTATIC", Opcodes.class) : interceptedCallable.getKind() == CallableKindInfo.INSTANCE_METHOD ? CodeBlock.of("(opcode == $1T.INVOKEVIRTUAL || opcode == $1T.INVOKEINTERFACE)", Opcodes.class) :
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:50:01 UTC 2024 - 27.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go
return err } // This is hacky. Set the item's Kind and APIVersion to those inferred // from the List. if len(unstruct.GetKind()) == 0 && len(unstruct.GetAPIVersion()) == 0 { unstruct.SetKind(itemKind) unstruct.SetAPIVersion(listAPIVersion) } list.Items = append(list.Items, *unstruct) } return nil } type jsonFallbackEncoder struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 20:39:55 UTC 2023 - 16.3K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
_ = un.EachListItem(func(item runtime.Object) error { castItem := item.(*unstructured.Unstructured) if castItem.GetKind() == name.ServiceStr { err := v.validateServicePortPrefix(istioNamespace, castItem) if err != nil { errs = multierror.Append(errs, err) } } if castItem.GetKind() == name.DeploymentStr { err := v.validateDeploymentLabel(istioNamespace, castItem, writer) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 17:58:52 UTC 2024 - 15K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java
@VisibleForTesting void buildProblem(Diagnostic<? extends JavaFileObject> diagnostic, ProblemSpec spec) { spec.id(mapKindToId(diagnostic.getKind()), mapKindToLabel(diagnostic.getKind()), GradleCoreProblemGroup.compilation().java()); spec.severity(mapKindToSeverity(diagnostic.getKind())); addFormattedMessage(spec, diagnostic); addDetails(spec, diagnostic); addLocations(spec, diagnostic); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 06:17:43 UTC 2024 - 11.5K bytes - Viewed (0) -
operator/cmd/mesh/uninstall.go
items = append(items, usList.Items...) } kindNameMap := make(map[string][]string) for _, o := range items { nameList := kindNameMap[o.GetKind()] if nameList == nil { kindNameMap[o.GetKind()] = []string{} } kindNameMap[o.GetKind()] = append(kindNameMap[o.GetKind()], o.GetName()) } if len(kindNameMap) == 0 { return "", "" } output, gwlist := "", []string{} for kind, name := range kindNameMap {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/metrics/v3.md
| `minio_cluster_erasure_set_write_quorum` | `gauge` | Write quorum for the erasure set in a pool | `pool_id,set_id` | | `minio_cluster_erasure_set_online_drives_count` | `gauge` | Count of online drives in the erasure set in a pool | `pool_id,set_id` |
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 40.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go
fuzzer.Fuzz(object) j, err := apimeta.TypeAccessor(object) if err != nil { t.Fatalf("Unexpected error %v for %#v", err, object) } j.SetKind("") j.SetAPIVersion("") return object } func groupsFromScheme(scheme *runtime.Scheme) []string { ret := sets.String{} for gvk := range scheme.AllKnownTypes() { ret.Insert(gvk.Group) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 16.8K bytes - Viewed (0)