- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 97 for attr_value (0.37 sec)
-
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/mlir/tensorflow/translate/export_graphdef.cc
mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) { llvm::ArrayRef<mlir::TensorType> subtypes = resource_type.getSubtypes(); if (!subtypes.empty()) { AttrValue handle_dtypes_attr; AttrValue handle_shapes_attr; for (mlir::TensorType subtype : subtypes) { DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) { llvm::ArrayRef<mlir::TensorType> subtypes = resource_type.getSubtypes(); if (!subtypes.empty()) { AttrValue handle_dtypes_attr; AttrValue handle_shapes_attr; for (mlir::TensorType subtype : subtypes) { DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc
} else { attributes.push_back(kLstmCellSimple); } if (cifg) { attributes.push_back(kCoupleInputForgetGates); } mlir::StringAttr attr_values = builder->getStringAttr(llvm::join(attributes, ",")); func->setAttr(kTFImplements, attr_values); return func; } class LstmUtilsTest : public ::testing::Test { protected: LstmUtilsTest() {} void SetUp() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K 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/cc/framework/fuzzing/cc_op_fuzz_gen.cc
if (attr.has_default_value() && attr.default_value().value_case() == AttrValue::kType) { type = DataType_Name(attr.default_value().type()); } else if (attr.has_allowed_values() && attr.allowed_values().value_case() == AttrValue::kList && !attr.allowed_values().list().type().empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 27 16:26:51 UTC 2024 - 13K bytes - Viewed (0) -
cmd/sftp-server.go
} claims := make(map[string]interface{}) for attribKey, attribValue := range lookupResult.Attributes { // we skip multi-value attributes here, as they cannot // be stored in the critical options. if len(attribValue) != 1 { continue } if attribKey == "sshPublicKey" && key != nil { key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0])) if err != nil { return nil, errSFTPPublicKeyBadFormat
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 65.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
buf.enc_ndr_small(ptype); buf.enc_ndr_small(flags); buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */ buf.enc_ndr_short(length); buf.enc_ndr_short(0); /* length of auth_value */ buf.enc_ndr_long(call_id); } void decode_header(NdrBuffer buf) throws NdrException { /* RPC major / minor version */ if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0)
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.2K bytes - Viewed (0)