Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 260 for getCond (0.34 sec)

  1. tensorflow/c/eager/abstract_tensor_handle.h

      // The default debug string includes a shape, dtype and FullType.
      // Implementations are free to override it with something more informative.
      virtual std::string DebugString() const;
    
      AbstractTensorHandleKind getKind() const { return kind_; }
    
     private:
      const AbstractTensorHandleKind kind_;
    };
    
    namespace internal {
    struct AbstractTensorHandleDeleter {
      void operator()(AbstractTensorHandle* p) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/TypeMirrorToType.java

    import java.util.List;
    
    public class TypeMirrorToType extends AbstractTypeVisitor8<Type, Void> {
    
        @Override
        public Type visitPrimitive(PrimitiveType t, Void unused) {
            TypeKind kind = t.getKind();
            if (kind == TypeKind.INT) {
                return Type.INT_TYPE;
            }
            if (kind == TypeKind.BYTE) {
                return Type.BYTE_TYPE;
            }
            if (kind == TypeKind.BOOLEAN) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. plugin/pkg/admission/namespace/exists/admission.go

    	// if we're here, then the API server has found a route, which means that if we have a non-empty namespace
    	// its a namespaced resource.
    	if len(a.GetNamespace()) == 0 || a.GetKind().GroupKind() == api.Kind("Namespace") {
    		return nil
    	}
    
    	// we need to wait for our caches to warm
    	if !e.WaitForReady() {
    		return admission.NewForbidden(a, fmt.Errorf("not yet ready to handle request"))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/SignatureVerificationFailure.java

            public SignatureError(@Nullable PGPPublicKey key, FailureKind kind) {
                this.publicKey = key;
                this.kind = kind;
            }
    
            public FailureKind getKind() {
                return kind;
            }
    
            public PGPPublicKey getPublicKey() {
                return publicKey;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 4.8K 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. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      auto ivs_count = init_types_with_loop_iv.size();
    
      {
        OpBuilder::InsertionGuard guard(*builder);
    
        // Build up the only block in the condition region.
        Region &condition = while_op.getCond();
        Block *block = builder->createBlock(&condition);
        block->addArguments(init_types_with_loop_iv,
                            SmallVector<Location>(ivs_count, loc));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompiler.java

                throw new GeneratedClassCompilationException("Unable to compile generated classes", e);
            }
            List<Diagnostic<? extends JavaFileObject>> diagnostics = ds.getDiagnostics().stream()
                .filter(d -> d.getKind() == Diagnostic.Kind.ERROR)
                .collect(Collectors.toList());
            if (!diagnostics.isEmpty()) {
                throwCompilationError(diagnostics);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/meta/meta.go

    		return nil, fmt.Errorf("unable to find type fields on %#v: %v", typeMeta, err)
    	}
    	return a, nil
    }
    
    type objectAccessor struct {
    	runtime.Object
    }
    
    func (obj objectAccessor) GetKind() string {
    	return obj.GetObjectKind().GroupVersionKind().Kind
    }
    
    func (obj objectAccessor) SetKind(kind string) {
    	gvk := obj.GetObjectKind().GroupVersionKind()
    	gvk.Kind = kind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 16.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExcludeTest.groovy

        private static final IvyArtifactName[] ARTIFACTS = [artifactName("foo"), artifactName('bar'), artifactName('baz'), artifactName('foo', 'jar', 'jar', 'classy')]
        private static final Long SEED = Long.getLong("org.gradle.internal.test.excludes.seed", 58745094L)
        private static final int MAX_DEPTH = 3
        private static final int MAX_CACHED = 10_000
    
        private final Random random = new Random(SEED)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/internal/PluginResolutionResult.java

         * Get the resolved plugin.
         *
         * @param request The original request. Only used for error reporting.
         *
         * @throws RuntimeException if the plugin was not found.
         */
        public PluginResolution getFound(PluginRequestInternal request) {
            if (found != null) {
                return found;
            }
    
            Formatter sb = new Formatter();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top