- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for attr_value (0.16 sec)
-
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) -
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/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) -
tensorflow/cc/experimental/libtf/tests/value_test.cc
TEST(Test1, TestCapsule) { TaggedValue test_moved, test_copy; ASSERT_EQ(alloc_count, 0); void* ptr_value = new Cool(); { TaggedValue capsule = TaggedValue::Capsule(static_cast<void*>(ptr_value), [](void* x) { delete static_cast<Cool*>(x); }); ASSERT_EQ(alloc_count, 1); ASSERT_EQ(capsule.capsule(), ptr_value); test_moved = std::move(capsule);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator_test.cc
std::unique_ptr<DeviceMgr> device_mgr_; std::unique_ptr<FunctionLibraryDefinition> lib_def_; std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_; std::unique_ptr<OpKernel> kernel_; }; AttrValue BoolAttr(bool b) { AttrValue v; v.set_b(b); return v; } TEST_F(XlaKernelCreatorTest, OneFloatOneResourceArgument) { FunctionDef fdef = XTimesY(); (*fdef.mutable_attr())["_XlaMustCompile"] = BoolAttr(true);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 01:39:55 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_attr.mlir
// Tests #tf_type.func attributes are exported as AttrValue.NameAttrList attributes // with its attr field populated with nested attributes. module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 458 : i32}} { func.func @main() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 16:41:06 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc
// Sum the sizes of each string. return absl::c_accumulate( str_attr.getRawStringData(), 0, [](int64_t acc, const StringRef str_value) -> int64_t { return acc + str_value.size(); }); } // Arbitrarily calculate the size of const of type whose size is unkown or // varying. Each element of such a type is considered to have // `kAssumedNumBytesPerElem` bytes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc
{"T", DT_FLOAT}, {"Tperm", DT_INT32}, }}}, {{"c", "t0:y:0"}}); AttrValue true_attribute; true_attribute.set_b(true); (*called_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute; *library.add_function() = called_func; TF_ASSERT_OK(root.graph()->AddFunctionLibrary(library));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc
} NodeDef node; auto builder = NodeDefBuilder("some_node", "Const") .Attr("dtype", data_type) .Attr("value", tensor); // Create a bad output shape attr. AttrValue shape_attr; TensorShapeProto* shape_proto = shape_attr.mutable_list()->add_shape(); shape_proto->add_dim()->set_size(1); builder.Attr("_output_shapes", shape_attr); TF_RETURN_IF_ERROR(builder.Finalize(&node));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 19:54:38 UTC 2024 - 9.7K bytes - Viewed (0)