Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 248 for getRand (0.25 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/AntBuilderDelegate.java

            this.originalBuilder = builder;
            this.builder = DynamicObjectUtil.asDynamicObject(builder);
            this.antlibClassLoader = antlibClassLoader;
        }
    
        public AntBuilderDelegate getAnt() {
            return this;
        }
    
        public void taskdef(Map<String, String> args) {
            Set<String> argNames = args.keySet();
            if (argNames.equals(ImmutableSet.of("name", "classname"))) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 10 10:55:07 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/attributes.go

    		dryRun:              dryRun,
    		object:              object,
    		oldObject:           oldObject,
    		userInfo:            userInfo,
    		reinvocationContext: &reinvocationContext{},
    	}
    }
    
    func (record *attributesRecord) GetKind() schema.GroupVersionKind {
    	return record.kind
    }
    
    func (record *attributesRecord) GetNamespace() string {
    	return record.namespace
    }
    
    func (record *attributesRecord) GetName() string {
    	return record.name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 07 17:53:14 UTC 2019
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    //===----------------------------------------------------------------------===//
    
    def GetBiasAddGradReductionIndices : NativeCodeCall<
      "GetBiasAddGradReductionIndices("
      "$0.getType().cast<RankedTensorType>().getRank(), $1, &$_builder)">;
    
    def LowerBiasAddGradOp :
      Pat<(TF_BiasAddGradOp AnyRankedTensor:$out_backprop, $data_format),
          (TF_SumOp $out_backprop,
                    (TF_ConstOp (GetBiasAddGradReductionIndices $out_backprop,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

          grouped_if_ops;
      llvm::SmallVector<Value, 4> if_cond_order;
      block->walk([&](TF::IfRegionOp if_op) {
        auto it = grouped_if_ops.try_emplace(if_op.getCond());
        if (it.second) {
          if_cond_order.push_back(if_op.getCond());
        }
        it.first->getSecond().push_back(if_op);
      });
    
      MapToRegionVec2D planned_merged_groups;
      MapToOperationVec2D moved_ops_groups;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

                (getElementTypeOrSelf(op.getOutput().getType()))))
          return failure();
    
        ElementsAttr input_tensor = qconst_op.getValue();
    
        assert(perm_tensor.getType().getRank() == 1);
        const int num_dimensions = input_tensor.getShapedType().getRank();
        assert(perm_tensor.getType().getNumElements() == num_dimensions);
    
        ArrayRef<int64_t> input_shape = input_tensor.getShapedType().getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

          return failure();
        }
    
        int quant_dim = -1;
        if (PerAxis) {
          // This is a special case that the quant_dim is the last dimensions.
          quant_dim = mlir::cast<ShapedType>(res.getType()).getRank() - 1;
        }
        // Use the min/max from the operands and the num_bits and narrow_range
        // attribute to create the quantization parameter for the new quantize op.
        rewriter.setInsertionPointAfter(tf_op.getOperation());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

        if (std::isalpha(label)) {
          new_lhs.push_back(label);
        } else {
          // Encounter ellipsis: generate unnamed labels then insert to the new
          // labels.
          new_labels = GenerateLabels(lhs_ty.getRank() - lhs_named_label_count,
                                      available_labels);
          new_lhs.append(new_labels);
          i += 2;
        }
      }
    
      std::string new_rhs, new_rhs_labels;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        for (const auto& axis_int : perm.getValues<APInt>()) {
          int64_t axis = axis_int.getSExtValue();
          if (axis < 0) {
            axis += input_type.getRank();
          }
          if (axis < 0 || (input_type.hasRank() && axis >= input_type.getRank())) {
            return transpose_op.emitOpError("perm must be in [-rank, rank)");
          }
          if (std::count(axes.begin(), axes.end(), axis) > 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. plugin/pkg/admission/limitranger/admission.go

    	// update request will always fail pod validation because those fields are immutable once the object is created.
    	if a.GetKind().GroupKind() == api.Kind("Pod") && a.GetOperation() == admission.Update {
    		return false
    	}
    
    	return a.GetKind().GroupKind() == api.Kind("Pod") || a.GetKind().GroupKind() == api.Kind("PersistentVolumeClaim")
    }
    
    // SupportsLimit always returns true.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

            worklist, /*extern_values_passthrough=*/false,
            /*only_one_return_value=*/false);
      }
    
      // Look through ToBool operations for the condition.
      Value cond = if_region.getCond();
      auto to_bool = dyn_cast_or_null<ToBoolOp>(cond.getDefiningOp());
      if (to_bool) cond = to_bool.getOperand();
    
      // Once we have the `then` and `else` functions ready (either outlined or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top