- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for AttrValue (0.16 sec)
-
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) -
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) -
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) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)