Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 248 for getRand (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc

        // integers. Thus, we use the `tensor.extract` op to compute the condition
        // of `scf.if` from that of `tf.IfRegion`.
        auto scf_if_condition =
            rewriter.create<tensor::ExtractOp>(loc, op.getCond());
    
        TypeRange tf_if_region_return_type = op.getResultTypes();
    
        // Create the `scf.if` op.
        auto scf_if_op =
            rewriter.create<scf::IfOp>(loc, tf_if_region_return_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/DefaultTask.java

        // NOTE: These methods are duplicated here because Eclipse treats methods implemented in the deprecated
        // AbstractTask as also deprecated in DefaultTask.
    
        @Override
        public AntBuilder getAnt() {
            return super.getAnt();
        }
    
        @Override
        public Project getProject() {
            return super.getProject();
        }
    
        @Override
        public String getName() {
            return super.getName();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go

    	attr := versionedAttributes.Attributes
    	gvk := invocation.Kind
    	gvr := invocation.Resource
    	subresource := invocation.Subresource
    	requestGVK := attr.GetKind()
    	requestGVR := attr.GetResource()
    	requestSubResource := attr.GetSubresource()
    	aUserInfo := attr.GetUserInfo()
    	userInfo := authenticationv1.UserInfo{
    		Extra:    make(map[string]authenticationv1.ExtraValue),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        // Input rhs must be a constant with rank 2.
        if (constant.getType().getRank() != 2) return failure();
    
        // Create a tfl.transpose op that performs ZX transpose on `input`.
        auto create_z_x_transpose_op = [&](Value input) -> Value {
          RankedTensorType input_type =
              mlir::cast<RankedTensorType>(input.getType());
          const int input_rank = input_type.getRank();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/storage_factory.go

    	// special-case unstructured objects that tell us their apiVersion/kind
    	if u, isUnstructured := obj.(*unstructured.Unstructured); isUnstructured {
    		if apiVersion, kind := u.GetAPIVersion(), u.GetKind(); len(apiVersion) > 0 && len(kind) > 0 {
    			return []interface{}{"apiVersion", apiVersion, "kind", kind}
    		}
    	}
    
    	// otherwise just return the type
    	return []interface{}{"type", fmt.Sprintf("%T", obj)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	if err != nil {
    		return field.ErrorList{field.Invalid(field.NewPath("kind"), nil, err.Error())}
    	}
    
    	var allErrs field.ErrorList
    	if typeAccessor.GetKind() != a.kind.Kind {
    		allErrs = append(allErrs, field.Invalid(field.NewPath("kind"), typeAccessor.GetKind(), fmt.Sprintf("must be %v", a.kind.Kind)))
    	}
    	if typeAccessor.GetAPIVersion() != a.kind.Group+"/"+a.kind.Version {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesPostProcessor.java

        private static List<ParameterInfo> modifiedParameters(List<ParameterInfo> originalParameters) {
            ArrayList<ParameterInfo> result = new ArrayList<>(originalParameters);
            if (result.size() == 0 || result.get(0).getKind() != ParameterKindInfo.RECEIVER) {
                throw new UnsupportedOperationException("extensions with static references that do not have a receiver parameter are not supported");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyAnnotationHandler.java

         */
        default void validatePropertyMetadata(PropertyMetadata propertyMetadata, TypeValidationContext validationContext) {}
    
        /**
         * Returns the kind of properties this handler handles.
         */
        Kind getKind();
    
        enum Kind {
            INPUT, OUTPUT, OTHER
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top