- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 732 for attr_ (0.11 sec)
-
src/log/slog/json_handler_test.go
ReplaceAttr: func(_ []string, a Attr) Attr { v := a.Value if v.Kind() == KindTime { return String(a.Key, v.Time().Format(rfc3339Millis)) } if a.Key == "level" { return Attr{"severity", a.Value} } return a }, }}, {"time unix", HandlerOptions{ ReplaceAttr: func(_ []string, a Attr) Attr { v := a.Value if v.Kind() == KindTime {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 17:06:26 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
llvm::SmallVectorImpl<mlir::NamedAttribute> &output) { for (mlir::NamedAttribute attr : attrs) { if (attr.getName().strref().contains( mlir::tfg::TFGraphDialect::getDeviceAttrKey())) { tensorflow::DeviceNameUtils::ParsedName parsed_name; if (!tensorflow::DeviceNameUtils::ParseFullName( mlir::cast<mlir::StringAttr>(attr.getValue()).getValue().str(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/c/c_api.cc
for (it = attrs.begin(); it != attrs.end(); it++) { if (count == i) { return it->first.length(); } count++; } return -1; } void TF_OperationGetAttrName(TF_Operation* oper, int i, char* output, TF_Status* status) { auto attrs = oper->node.attrs(); int count = 0; AttrValueMap::const_iterator it; for (it = attrs.begin(); it != attrs.end(); it++) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
absl::Span< const std::pair<std::string, FunctionDefHelper::AttrValueWrapper>> attrs) { NodeDef node; node.set_name(std::string(name)); node.set_op(std::string(op)); for (const auto& input : inputs) node.add_input(input); for (const auto& attr : attrs) node.mutable_attr()->insert({attr.first, attr.second.proto}); return node; } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy
} def "can serialize/deserialize isolated Attribute values"() { Attribute attr1 = Attribute.of("foo", String.class) Attribute attr2 = Attribute.of("bar", SomeType.class) Isolatable<?>[] isolatables = [isolatableFactory.isolate(attr1), isolatableFactory.isolate(attr2)] when: serialize(isolatables) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 11.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go
func xattrnamespace(fullattr string) (ns int, attr string, err error) { s := strings.IndexByte(fullattr, '.') if s == -1 { return -1, "", ENOATTR } namespace := fullattr[0:s] attr = fullattr[s+1:] switch namespace { case "user": return EXTATTR_NAMESPACE_USER, attr, nil case "system": return EXTATTR_NAMESPACE_SYSTEM, attr, nil default: return -1, "", ENOATTR } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/cpp_generator_test.cc
"MatMul", // 2 inputs & attrs with default values "IdentityN", // Variadic input+output "SparseSoftmaxCrossEntropyWithLogits", // 2 outputs "AccumulatorApplyGradient", // 0 outputs "VarHandleOp", // type, shape, list(string) attrs "RestoreV2", // Variadic output-only, list(type) attr }; cpp::CppConfig cpp_config(category, name_space);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 18 17:02:28 UTC 2022 - 2.9K bytes - Viewed (0) -
src/encoding/xml/read_test.go
BFalse bool `xml:",attr"` BTrue bool `xml:",attr"` I int `xml:",attr"` INeg int `xml:",attr"` I8 int8 `xml:",attr"` I8Neg int8 `xml:",attr"` I16 int16 `xml:",attr"` I16Neg int16 `xml:",attr"` I32 int32 `xml:",attr"` I32Neg int32 `xml:",attr"` I64 int64 `xml:",attr"` I64Neg int64 `xml:",attr"` UI uint `xml:",attr"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h
bool EnsureAttribute(const DictionaryAttr& composite_attributes, const std::string& attr_name, AttrType* out_attr) { Attribute attr = composite_attributes.get(attr_name); if (!mlir::isa_and_nonnull<AttrType>(attr)) { return false; } if (AttrType content = mlir::dyn_cast<AttrType>(attr)) { *out_attr = content; return true; } else { return false; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 18:33:05 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
} Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) { value->set_b(attr.getValue()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) { value->set_i(attr.getInt()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) { value->set_f(attr.getValueAsDouble()); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0)