Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getRand (0.41 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        // tensor, for setting depth_multiplier attribute, etc.).
        auto filter = tf_op.getFilter();
        auto filter_type = mlir::dyn_cast<RankedTensorType>(filter.getType());
        if (!filter_type || filter_type.getRank() != 4 ||
            !filter_type.hasStaticShape())
          return failure();
    
        Value input = tf_op.getInput();
        RankedTensorType input_type =
            mlir::dyn_cast<RankedTensorType>(input.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        CPred<"$0.getType().cast<ShapedType>().hasRank() && "
              "$0.getType().cast<ShapedType>().getRank() <= " # n>>;
    
    // Checks if the value has rank 'n'.
    class HasRank<int n> : Constraint<
        CPred<"$0.getType().cast<ShapedType>().hasRank() && "
              "$0.getType().cast<ShapedType>().getRank() == " # n>>;
    
    class FloatValueEquals<string val> : Constraint<CPred<
      "FloatValueEquals($0, " # val # ")">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // Input should be rank 4.
        if (!input_ty.hasRank() || input_ty.getRank() != 4) {
          return failure();
        }
    
        // Check that out_size is rank-1, length-2. Otherwise the size is not legal.
        if (!out_size_ty.hasRank() || out_size_ty.getRank() != 1 ||
            out_size_ty.getShape()[0] != 2) {
          return failure();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

                            communication_key_index++)
                  .str();
          auto& cond = host_while.getCond();
          cond.push_back(new Block);
          auto condition =
              while_op.getCond().front().getTerminator()->getOperand(0);
          builder.setInsertionPoint(while_op.getCond().front().getTerminator());
          builder.create<mlir::TF::XlaSendToHostOp>(while_op.getLoc(), condition,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

        @Override
        public AntBuilder ant(Closure configureClosure) {
            return ConfigureUtil.configure(configureClosure, getAnt());
        }
    
        @Override
        public AntBuilder ant(Action<? super AntBuilder> configureAction) {
            AntBuilder ant = getAnt();
            configureAction.execute(ant);
            return ant;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        if (matchPattern(op_state.operands[1], m_Constant(&shape_attr))) {
          auto shape_ty =
              op_state.operands[1].getType().dyn_cast<RankedTensorType>();
          if (shape_ty != nullptr && shape_ty.hasRank() && shape_ty.getRank() > 1) {
            llvm::SmallVector<mlir::Attribute, 4> shape;
            int32_t dim_size = 0;
            for (const auto& dim :
                 llvm::enumerate(shape_attr.getValues<llvm::APInt>())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    		Name:      name,
    		Namespace: namespace,
    	}
    	if fun, ok := f.DefinitionMatchFuncs[key]; ok {
    		return fun(definition, a), a.GetResource(), a.GetKind(), nil
    	}
    
    	// Default is match everything
    	return f.DefaultMatch, a.GetResource(), a.GetKind(), nil
    }
    
    // Matches says whether this policy definition matches the provided admission
    // resource request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                do {
                    curReq.setResponse(curResp);
    
                    ServerMessageBlock nextReq = curReq.getAndx();
                    if ( nextReq == null ) {
                        break;
                    }
                    ServerMessageBlock nextResp = curResp.getAndx();
                    nextReq.setResponse(nextReq);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // the first `TensorListSetItemOp`.
        if (auto shaped_type = element_shape.getType().dyn_cast<ShapedType>()) {
          if (shaped_type.hasRank() && shaped_type.getRank() == 0) {
            bool element_shape_acquired = false;
            auto uses = op.getResult().getUses();
            for (auto &use : llvm::make_early_inc_range(uses)) {
              if (TF::TensorListSetItemOp set_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         */
        AntBuilder getAnt();
    
        /**
         * <p>Creates an additional <code>AntBuilder</code> for this project. You can use this in your build file to execute
         * ant tasks.</p>
         *
         * @return Creates an <code>AntBuilder</code> for this project. Never returns null.
         * @see #getAnt()
         */
        AntBuilder createAntBuilder();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top