Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for AttrValue (0.27 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

    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:
          return std::to_string(attr_value.i());
        case AttrValue::kF:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            String tag = "tag", id = "id", css = "css", attrName = "attrName", attrValue = "attrValue";
            PrunedTag prunedtag = new PrunedTag(tag);
            prunedtag.setAttr(attrName, attrValue);
            prunedtag.setId(id);
            prunedtag.setCss(css);
            assertEquals("PrunedTag [tag=" + tag + ", id=" + id + ", css=" + css + ", attrName=" + attrName + ", attrValue=" + attrValue + "]",
                    prunedtag.toString());
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

          return builder->getStringAttr(value.s());
        case AttrValue::kF:
          return builder->getFloatAttr(builder->getF32Type(), value.f());
        case AttrValue::kB:
          return builder->getBoolAttr(value.b());
        case AttrValue::kType: {
          mlir::Type type;
          TF_RETURN_IF_ERROR(ConvertDataType(value.type(), *builder, &type));
          return mlir::TypeAttr::get(type);
        }
        case AttrValue::kShape:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/vcs/discovery.go

    			break
    		}
    		e, ok := t.(xml.StartElement)
    		if !ok || !strings.EqualFold(e.Name.Local, "meta") {
    			continue
    		}
    		if attrValue(e.Attr, "name") != "go-import" {
    			continue
    		}
    		if f := strings.Fields(attrValue(e.Attr, "content")); len(f) == 3 {
    			imports = append(imports, metaImport{
    				Prefix:   f[0],
    				VCS:      f[1],
    				RepoRoot: f[2],
    			})
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 11 18:14:49 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/PrunedTag.java

                    && StringUtils.compare(attrValue, other.attrValue) == 0;
        }
    
        public void setId(final String id) {
            this.id = id;
        }
    
        public void setCss(final String css) {
            this.css = css;
        }
    
        public void setAttr(final String name, final String value) {
            this.attrName = name;
            this.attrValue = value;
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h

    namespace tensorflow {
    
    using tsl::StatusOr;
    
    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder);
    
    // Converts all kinds of AttrValue proto into an MLIR attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                scanner.next();
                StringBuilder attrValue = new StringBuilder();
                while (!scanner.isEmpty() && !scanner.lookingAt(quote)) {
                    if (scanner.lookingAt(HTML_ENCODED_CHAR)) {
                        parseHtmlEncodedChar(attrValue);
                    } else if (scanner.lookingAt(HTML_ENTITY)) {
                        parseHtmlEntity(attrValue);
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tfe_op_attrs_internal.h

    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::AbstractOpAttrs, TFE_OpAttrs);
    
    // Set an AttrValue on the op. Doesn't handle the list types.
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status);
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 10 05:41:19 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/gen/model/attr_spec.h

      const string& base_type() const { return base_type_; }
      const AttrValue& default_value() const { return default_value_; }
      const bool is_list() const { return is_list_; }
    
     private:
      explicit AttrSpec(const OpDef::AttrDef& attr_def);
    
      string name_;
      string description_;
      string full_type_;
      string base_type_;
      AttrValue default_value_;
      bool is_list_;
    };
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/node_matchers.h

    impl::NodeMatcherProperties Attr(std::pair<string, AttrValue> attrs);
    impl::NodeMatcherProperties Attr(string name);
    
    std::pair<string, AttrValue> AttrLiteralHelper(
        const std::pair<string, bool>& bool_attr);
    
    std::pair<string, AttrValue> AttrLiteralHelper(
        const std::pair<string, absl::Span<const int>>& int_list_attr);
    
    std::pair<string, AttrValue> AttrLiteralHelper(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top