- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AttrTypeName (0.18 sec)
-
tensorflow/cc/framework/cc_op_gen_util.h
// attr_type when defining an object of that type. The bool is a flag to // indicate whether to treat the type as const when accepting the C++ type as an // argument to a function. std::pair<StringPiece, bool> AttrTypeName(StringPiece attr_type); StringPiece ListElementTypeName(StringPiece attr_type); bool IsCPPKeyword(StringPiece name); string AvoidCPPKeywords(StringPiece name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
const char c = str[i++]; if (c == '>') { result += joiner; } else { result += c; } } return result; } std::pair<StringPiece, bool> AttrTypeName(StringPiece attr_type) { static const auto* attr_type_map = new std::unordered_map<StringPiece, std::pair<StringPiece, bool>, StringPieceHasher>{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen.cc
if ((op_info.inferred_input_attrs.find(attr.name()) != op_info.inferred_input_attrs.end()) || !api_def_attr.has_default_value()) { continue; } const auto entry = AttrTypeName(attr.type()); const auto attr_type_name = entry.first; const bool use_const = entry.second; const string camel_case_name = ToCamelCase(api_def_attr.rename_to()); const string suffix =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 17:22:47 UTC 2023 - 17K bytes - Viewed (0)