Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 248 for getRand (0.13 sec)

  1. 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)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

      for (auto idx : val1_indices) {
        if (idx < 0) idx = idx + val1_shape.getRank();
        if (idx >= val1_shape.getRank() || val1_shape.isDynamicDim(idx)) {
          return false;
        }
        val1_result *= val1_shape.getDimSize(idx);
      }
    
      for (auto idx : val2_indices) {
        if (idx < 0) idx = idx + val2_shape.getRank();
        if (idx >= val2_shape.getRank() || val2_shape.isDynamicDim(idx)) {
          return false;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

            /*parallel_iterations=*/10,
            /*is_stateless=*/false, /*shape_invariant=*/false);
        new_while.getCond().takeBody(while_op.getCond());
        new_while.getBody().takeBody(while_op.getBody());
        ReplaceReturnOp(new_while.getCond(), rewriter);
        ReplaceReturnOp(new_while.getBody(), rewriter);
        rewriter.replaceOp(while_op, new_while.getResults());
        return success();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  4. plugin/pkg/admission/network/denyserviceexternalips/admission.go

    	if !ok {
    		klog.V(3).Infof("Expected Service resource, got: %v", attr.GetKind())
    		return errors.NewInternalError(fmt.Errorf("Expected Service resource, got: %v", attr.GetKind()))
    	}
    
    	var oldSvc *core.Service
    	if old := attr.GetOldObject(); old != nil {
    		tmp, ok := old.(*core.Service)
    		if !ok {
    			klog.V(3).Infof("Expected Service resource, got: %v", attr.GetKind())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 29 18:00:11 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/language/java/DependencyScope.groovy

                'dependencies {'
            }
    
            @Override
            public String getEnd() {
                '}'
            }
        },
        API {
            @Override
            public String getBegin() {
                'api { dependencies {'
            }
    
            @Override
            public String getEnd() {
                '}}'
            }
        },
        SOURCES {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.h

      return type && type.getRank() == rank &&
             mlir::isa<FloatType>(type.getElementType());
    }
    
    // Returns true if the given `value` has the specified rank or has unranked
    // type.
    inline bool IsOfRankOrUnranked(Value value, int64_t rank) {
      RankedTensorType type = GetRankedTensorTypeForOperand(value);
      return !type || type.getRank() == rank;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc

        ShapedType& updates_type, ConversionPatternRewriter& rewriter) {
      auto canonical_update_window_dims = llvm::to_vector(
          llvm::seq<int64_t>(indices_type.getRank() - 1, updates_type.getRank()));
    
      if (canonical_update_window_dims == update_window_dims) return success();
    
      // Permute updates if `update_window_dims` are leading indices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 02:29:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      auto num_loop_carried = while_op.getCond().getNumArguments();
      auto not_carried_operands =
          while_op.getOperands().drop_front(num_loop_carried);
      extern_values.insert(not_carried_operands.begin(),
                           not_carried_operands.end());
      auto old_extern_values_size = extern_values.size();
    
      llvm::SmallVector<Region*, 2> regions{&while_op.getCond(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/classnames/ClassNameCollector.java

            return symbol;
        }
    
        private static boolean isPackageInfoFile(TaskEvent e, File asSourceFile) {
            return e.getKind() == TaskEvent.Kind.ANALYZE && "package-info.java".equals(asSourceFile.getName());
        }
    
        private static boolean isClassGenerationPhase(TaskEvent e) {
            return e.getKind() == TaskEvent.Kind.GENERATE;
        }
    
        public void registerMapping(String key, String symbol) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top