Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for value_not_set (0.37 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractValidatingProperty.java

        }
    
        private static final String VALUE_NOT_SET = "VALUE_NOT_SET";
    
        public static void reportValueNotSet(String propertyName, TypeValidationContext context, boolean hasConfigurableValue) {
            context.visitPropertyProblem(problem -> {
                ProblemSpec problemSpec = problem.forProperty(propertyName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

                absl::StrCat("Attribute ", value.DebugString()));
          }
          return builder->getArrayAttr(llvm::ArrayRef(attrs.begin(), attrs.end()));
        }
        case AttrValue::VALUE_NOT_SET:
          return builder->getUnitAttr();
        // kPlaceholder is not implemented.
        case AttrValue::kPlaceholder:
          return mlir::TF::PlaceholderAttr::get(builder->getContext(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

    string AttrView::AttrNameString() const { return Quoted(attr_.name()); }
    
    string AttrView::DefaultValue() const {
      const AttrValue &attr_value = attr_.default_value();
      switch (attr_value.value_case()) {
        case AttrValue::VALUE_NOT_SET:
          return "";
        case AttrValue::kType:
          return DataType_Name(attr_value.type());
        case AttrValue::kS:
          return "\"" + attr_value.s() + "\"";
        case AttrValue::kI:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

        }
    
        String missingValueMessage(@DelegatesTo(value = SimpleMessage, strategy = Closure.DELEGATE_FIRST) Closure<?> spec = {}) {
            def config = display(SimpleMessage, 'value_not_set', spec)
            config.description("doesn't have a configured value")
                .reason("this property isn't marked as optional and no value has been configured")
                .solution("Assign a value to '${config.property}'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
      1. Assign a value to 'someProperty'.
      2. Mark property 'someProperty' as optional.
    
    ${validationMessage("value_not_set")}
    """
        }
    
        def "tests outputof methodShouldNotBeAnnotatedMessage"() {
            when:
            render methodShouldNotBeAnnotatedMessage {
                type('MyTask')
                kind('method')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    - link:{javadocPath}/org/gradle/api/tasks/Classpath.html[`Classpath`]
    - link:{javadocPath}/org/gradle/api/tasks/CompileClasspath.html[`CompileClasspath`]
    
    [[value_not_set]]
    == Required value isn't set
    
    This error indicates that a property expected a value but none was provided.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. tensorflow/c/kernels.cc

          *list_size = -1;
          *total_size = -1;
          break;
    
        case tensorflow::AttrValue::kFunc:
          *list_size = -1;
          *total_size = -1;
          break;
    
        case tensorflow::AttrValue::VALUE_NOT_SET:
          status->status = absl::InvalidArgumentError(
              absl::StrCat("Attribute '", attr_name, "' has no value set"));
          break;
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

          }
        } break;
        case tensorflow::AttrValue::kTensor:
          TF_FALLTHROUGH_INTENDED;
        case tensorflow::AttrValue::kPlaceholder:
          TF_FALLTHROUGH_INTENDED;
        case tensorflow::AttrValue::VALUE_NOT_SET:
          TF_SetStatus(
              status, TF_UNIMPLEMENTED,
              tensorflow::strings::StrCat("Unable to get setfor default value: ",
                                          default_value.DebugString())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

        return;
      }
    
      if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
        if (attr_value.value_case() != tensorflow::AttrValue::kList &&
            attr_value.value_case() != tensorflow::AttrValue::VALUE_NOT_SET) {
          status->status =
              InvalidArgument("Expected \"list\" field for \"",
                              tensorflow::kColocationAttrName, "\" attribute");
          return;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top