Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for AttrValue (0.38 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

          AttrValue nested_value;
          TF_RETURN_IF_ERROR(ConvertAttribute(attr, &nested_value));
          switch (nested_value.value_case()) {
            case AttrValue::kS:
              list->add_s(nested_value.s());
              break;
            case AttrValue::kType:
              list->add_type(nested_value.type());
              break;
            case AttrValue::kShape:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers.cc

    }
    
    std::pair<string, AttrValue> impl::AttrLiteralHelper(
        const std::pair<string, bool>& bool_attr) {
      AttrValue attr_value;
      attr_value.set_b(bool_attr.second);
      return {bool_attr.first, attr_value};
    }
    
    std::pair<string, AttrValue> impl::AttrLiteralHelper(
        const std::pair<string, absl::Span<const int>>& int_list_attr) {
      AttrValue attr_value;
      AttrValue::ListValue* list = attr_value.mutable_list();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                        String attrValue = attrNode.getNodeValue();
                        if (StringUtil.isNotBlank(attrValue)) {
                            // if starting with www, append a protocol
                            if (attrValue.startsWith("www.")) {
                                attrValue = "http://" + attrValue;
                            }
                            return attrValue;
                        }
                    }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status) {
      switch (default_value.value_case()) {
        case tensorflow::AttrValue::kS: {
          const string& v = default_value.s();
          TFE_OpSetAttrString(op, attr_name, v.data(), v.size());
          break;
        }
        case tensorflow::AttrValue::kI:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/cc_op_gen_util.cc

          }
        }
        case AttrValue::kB:
          return attr_value.b() ? "true" : "false";
        case AttrValue::kType:
          return DataType_Name(attr_value.type());
        case AttrValue::kShape:
          return PrintTensorShape(attr_value.shape());
        case AttrValue::kTensor:
          return PrintTensorProto(attr_value.tensor());
        case AttrValue::kList: {
          string ret = "{";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      EXPECT_EQ(shape_inference_graphs.size(), 0);
    
      // Check host graph: verify we have key placeholder and sequencer.
      std::unique_ptr<FunctionBody> host_fbody;
      AttrValue device_ordinal_temp_value;
      device_ordinal_temp_value.set_i(0);
      protobuf::Map<string, AttrValue> host_func_attrs;
      host_func_attrs["_device_ordinal"] = device_ordinal_temp_value;
      TF_CHECK_OK(FunctionDefToBodyHelper(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  7. tensorflow/c/kernels.cc

          LIST_CASE(tensor, TF_ATTR_FUNC);
    #undef LIST_CASE
          break;
    
        case tensorflow::AttrValue::kPlaceholder:
          *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(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParser.java

                    boolean attrValue = reader.nextBoolean();
                    attributes = attributesFactory.concat(attributes, Attribute.of(attrName, Boolean.class), attrValue);
                } else if (reader.peek() == NUMBER) {
                    Integer attrValue = reader.nextInt();
                    attributes = attributesFactory.concat(attributes, Attribute.of(attrName, Integer.class), attrValue);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

                    final String attrValue
                    @Inject ChangingAttributeRule(String attrValue) { this.attrValue = attrValue }
                    void execute(ComponentMetadataContext context) {
                        context.details.allVariants {
                            attributes.attribute(Attribute.of("my.attribute.name", String), attrValue)
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

                                                         .begin())>::value>::type>
    Status SetTypeAttribute(absl::string_view name, ContainerT types,
                            AttrValueMap* values) {
      AttrValue value;
      auto& type_list = *value.mutable_list();
      for (auto type : types) {
        DataType dtype;
        TF_RETURN_IF_ERROR(ConvertScalarTypeToDataType(type, &dtype));
        type_list.add_type(dtype);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top