Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 248 for getRand (0.24 sec)

  1. pilot/test/xdstest/test.go

    		}
    		return matches
    	case *listener.ListenerFilterChainMatchPredicate_DestinationPortRange:
    		return int32(port) >= r.DestinationPortRange.GetStart() && int32(port) < r.DestinationPortRange.GetEnd()
    	default:
    		panic("unsupported predicate")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 29 21:47:46 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      auto input_type = mlir::cast<RankedTensorType>(input.getType());
      SmallVector<int64_t, 4> output_shape;
      int size_of_splits;
      if (input_type.getRank() < axis || axis < 0) return failure();
      for (int i = 0; i < input_type.getRank(); ++i) {
        int64_t dim = input_type.getDimSize(i);
        if (i == axis) {
          if (dim % splits != 0) {
            return failure();
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java

        }
    
        private CodeBlock prepareInvocationArgs(CallInterceptionRequest request) {
            boolean hasKotlinDefaultMask = request.getInterceptedCallable().getParameters().stream().anyMatch(it -> it.getKind() == ParameterKindInfo.KOTLIN_DEFAULT_MASK);
            boolean hasCallerClassName = hasCallerClassName(request.getInterceptedCallable());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AccessRule.java

        public AccessRule(String kind, String pattern) {
            this.kind = Preconditions.checkNotNull(kind);
            this.pattern = Preconditions.checkNotNull(pattern);
        }
    
        public String getKind() {
            return kind;
        }
    
        public void setKind(String kind) {
            this.kind = kind;
        }
    
        public String getPattern() {
            return pattern;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Classpath.java

            }
    
            SourceFolder sourceFolder = (SourceFolder) existingEntry;
            return newSourceFolders.stream().anyMatch(newSourceFolder -> {
                return Objects.equal(sourceFolder.getKind(), newSourceFolder.getKind())
                    && Objects.equal(sourceFolder.getPath(), newSourceFolder.getPath())
                    && Objects.equal(sourceFolder.getExcludes(), newSourceFolder.getExcludes())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    			},
    		},
    	}
    
    	if got, want := unstruct.GetAPIVersion(), "test_version"; got != want {
    		t.Errorf("GetAPIVersions() = %s, want %s", got, want)
    	}
    
    	if got, want := unstruct.GetKind(), "test_kind"; got != want {
    		t.Errorf("GetKind() = %s, want %s", got, want)
    	}
    
    	if got, want := unstruct.GetNamespace(), "test_namespace"; got != want {
    		t.Errorf("GetNamespace() = %s, want %s", got, want)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_context.h

      enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler };
      explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {}
      virtual ~AbstractContext() {}
    
     public:
      AbstractContextKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:16:58 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/tape/tape_operation.h

          absl::Span<const AbstractOperation*> values) override;
      AbstractOperation* GetBackingOperation();
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeOperation() override;
    
     private:
      AbstractOperation* parent_op_;
      ForwardOperation forward_op_;
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/GroovyClassGeneratorUtils.java

                    CallableInfo callable = request.getInterceptedCallable();
                    CallableKindInfo kind = callable.getKind();
                    if (kind == CallableKindInfo.AFTER_CONSTRUCTOR) {
                        Type constructedType = request.getInterceptedCallable().getOwner().getType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 13:39:36 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top