Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for res_value (0.36 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            ty = self._get_inferred_type(node.args[0], ty)
            if ty == TFRTypes.TF_TENSOR_SHAPE_LIST:
              len_value = self._ssa_name('len')
              self._emit_with_loc(
                  '\n{} = shape.rank {} : !shape.shape -> !shape.size'.format(
                      len_value, arg), node)
              size_value = self._ssa_name('len_size')
              self._emit_with_loc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      devices_.UnionWith(other->devices_);
    
      DCHECK(!(resource_op_device_.has_value() &&
               other->resource_op_device_.has_value()) ||
             *resource_op_device_ == *other->resource_op_device_)
          << "AreDevicesCompatible should have returned false otherwise!";
    
      if (!resource_op_device_.has_value()) {
        resource_op_device_ = other->resource_op_device_;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	zero := MustParse("0")
    	for _, testValue := range testValues {
    		value := MustParse(testValue)
    		v1 := value.DeepCopy()
    		// ensure non-zero + zero = non-zero (suffix preserved)
    		v1.Add(zero)
    		// ensure zero + non-zero = non-zero (suffix preserved)
    		v2 := zero.DeepCopy()
    		v2.Add(value)
    
    		if v1.String() != testValue {
    			t.Errorf("Expected %v, actual %v", testValue, v1.String())
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/deadness_analysis.cc

      string ToString() const override {
        return must_have_value().has_value()
                   ? absl::StrCat(tensor_id_.ToString(), "=", *must_have_value_)
                   : tensor_id_.ToString();
      }
    
      Kind kind() const override { return Kind::kIntSymbol; }
      absl::Span<Predicate* const> GetOperands() const override { return {}; }
    
      // If `must_have_value().has_value()` is true, then this IntSymbolPredicate
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          mlir::Value new_value = input.getOutput();
    
          if (mlir::isa<TF::TPUAnnotateTensorsWithDynamicShapeOp>(
                  result.getDefiningOp())) {
            TF::TPUAnnotateTensorsWithDynamicShapeOp annotate_op =
                builder.create<TF::TPUAnnotateTensorsWithDynamicShapeOp>(
                    op->getLoc(), result.getType(), new_value,
                    result.getDefiningOp()->getAttrs());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/replica_calculator_test.go

    	fakeMetricsClient.AddReactor("list", "pods", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		if tc.resource != nil {
    			metrics := &metricsapi.PodMetricsList{}
    			for i, resValue := range tc.resource.levels {
    				podName := fmt.Sprintf("%s-%d", podNamePrefix, i)
    				if len(tc.resource.podNames) > i {
    					podName = tc.resource.podNames[i]
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    try {
                        if (StringUtil.isBlank(prev)) {
                            final Map<String, Map<String, String>> result =
                                    mapper.readValue(line, new TypeReference<Map<String, Map<String, String>>>() {
                                    });
                            if (result.containsKey("index") || result.containsKey("update")) {
                                return line;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

      const char* value() const {
        return value_.c_str();
      }
    
      // Sets a new value, overriding the one supplied in the constructor.
      void SetValue(const std::string& new_value) {
        value_ = new_value;
      }
    
     private:
      // The key supplied by the user.
      std::string key_;
      // The value supplied by the user.
      std::string value_;
    };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      const char* value() const {
        return value_.c_str();
      }
    
      // Sets a new value, overriding the one supplied in the constructor.
      void SetValue(const std::string& new_value) {
        value_ = new_value;
      }
    
     private:
      // The key supplied by the user.
      std::string key_;
      // The value supplied by the user.
      std::string value_;
    };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      if (variant_ty.getSubtypes().size() == 1) {
        return true;
      }
      // If subtype info is not available, check if the value is used by any of
      // the following TensorList operations.
      if (!value.has_value()) {
        return false;
      }
      for (const mlir::OpOperand &use : value.value().getUses()) {
        mlir::Operation *op = use.getOwner();
        if (llvm::isa<TF::TensorListGetItemOp>(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)
Back to top