Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for set_kind (0.15 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      TF_Graph* graph_;  // For shape inference.
    };
    
    // GraphOperation wraps and populates a TF_OperationDescription.
    class GraphOperation : public TracingOperation {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. operator/pkg/verifier/verifier.go

    	kinds := findResourceInSpec(un.GetObjectKind().GroupVersionKind())
    	if kinds == "" {
    		kinds = strings.ToLower(un.GetKind()) + "s"
    	}
    	// Override with special kind if it exists in the map
    	if specialKind, exists := specialKinds[un.GetKind()]; exists {
    		kinds = specialKind
    	}
    	return kinds
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

            return annotatedClassElements
                .flatMap(element -> element.getKind() == ElementKind.METHOD ? Stream.of(element) : element.getEnclosedElements().stream())
                .filter(it -> it.getKind() == ElementKind.METHOD)
                .map(it -> (ExecutableElement) it)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java

    public class AnnotationCallInterceptionRequestReaderImpl implements AnnotatedMethodReaderExtension {
    
        @Override
        public Collection<Result> readRequest(ExecutableElement input) {
            if (input.getKind() != ElementKind.METHOD) {
                return emptyList();
            }
    
            if (!input.getModifiers().containsAll(Arrays.asList(Modifier.STATIC, Modifier.PUBLIC))) {
                return emptyList();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:48:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_context.h

      // to the caller.
      virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
      //===--------------------------------------------------------------------===//
      // Experimental Custom Device.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    				}
    				if e, a := noxuDefinition.Spec.Group+"/"+watchVersion, createdTypeMeta.GetAPIVersion(); e != a {
    					t.Errorf("expected %v, got %v", e, a)
    				}
    				if e, a := noxuDefinition.Spec.Names.Kind, createdTypeMeta.GetKind(); e != a {
    					t.Errorf("expected %v, got %v", e, a)
    				}
    			case <-time.After(5 * time.Second):
    				t.Errorf("missing watch event")
    			}
    		}
    
    		// Check get for all versions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java

            List<Checksum> checksums = verification.getChecksums();
            for (Checksum checksum : checksums) {
                verifyChecksum(checksum.getKind(), file, checksum.getValue(), checksum.getAlternatives(), checksumService, builder);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      Type getElementType() {
        return mlir::cast<ShapedType>(value_.getType()).getElementType();
      }
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kMlir;
      }
    
      // Return default (TFT_UNSET) full type information. This could be updated in
      // the future if full type information is needed.
      tensorflow::FullTypeDef FullType() const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. plugin/pkg/admission/limitranger/admission.go

    	// update request will always fail pod validation because those fields are immutable once the object is created.
    	if a.GetKind().GroupKind() == api.Kind("Pod") && a.GetOperation() == admission.Update {
    		return false
    	}
    
    	return a.GetKind().GroupKind() == api.Kind("Pod") || a.GetKind().GroupKind() == api.Kind("PersistentVolumeClaim")
    }
    
    // SupportsLimit always returns true.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    				switch options.Continue {
    				case "":
    					metadataAccessor.SetContinue(&obj, "abc")
    				case "abc":
    					metadataAccessor.SetContinue(&obj, "def")
    				case "def":
    					metadataAccessor.SetKind(&obj, "ListComplete")
    				}
    				return &obj, nil
    			},
    			expectedTokens: []string{"", "abc", "def"},
    		},
    		{
    			name:        "stops looping if listFunc returns an error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
Back to top