Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for StringPieceHasher (0.27 sec)

  1. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

    gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> NodeToAttrMap(
        const tensorflow::GraphDef& graphdef) {
      gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> result;
      for (const tensorflow::NodeDef& node : graphdef.node()) {
        result[node.name()] = &node.attr();
      }
      return result;
    }
    
    gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*, StringPieceHasher>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/saved_model_utils.h

    gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> NodeToAttrMap(
        const tensorflow::GraphDef& graphdef);
    
    // Maps the name of each FunctionDef in `library` to its corresponding
    // FunctionDef. Callers must ensure `library` outlives the returned map.
    gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*, StringPieceHasher>
    FunctionNameToFunctionDefMap(const FunctionDefLibrary& library);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 04:18:52 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.cc

      }
      return entry->second;
    }
    
    bool IsCPPKeyword(StringPiece name) {
      static const absl::flat_hash_set<StringPiece, StringPieceHasher>*
          // Keywords obtained from http://en.cppreference.com/w/cpp/keyword
          kCPPReserved = new absl::flat_hash_set<StringPiece, StringPieceHasher>{
              "alignas",
              "alignof",
              "and",
              "and_eq",
              "asm",
              "atomic_cancel",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

    namespace tensorflow {
    namespace cc_op {
    namespace {
    
    string DefaultValue(OpDef_AttrDef attr) {
      static const auto* attr_default_value_map =
          new absl::flat_hash_map<StringPiece, StringPiece, StringPieceHasher>{
              {"int", "0"},
              {"string", "\"\""},
              {"list(int)", "{ 0, 1 }"},
              {"list(float)", "{0.0, 1.0}"},
              {"type", "DT_UINT8"},
              {"shape",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    namespace tensorflow {
    
    // Maps from a FunctionDef's name to FunctionDef, for a given FunctionDefLibrary
    using FunctionDefMap = gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*,
                                        StringPieceHasher>;
    
    // Maps from a functiondef's name to the corresponding "TFConcreteFunction"
    using FlatTensorFunctionMap =
        gtl::FlatMap<std::string, std::unique_ptr<FlatTensorFunction>>;
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

    namespace tensorflow {
    
    namespace {
    
    using StructuredValueDictEntry =
        protobuf::MapPair<std::string, StructuredValue>;
    
    using NamedParamMap =
        gtl::FlatMap<StringPiece, const TensorSpecProto*, StringPieceHasher>;
    
    Status AssertAllCreateResourceFunctionsHaveNoCaptures(
        const PartiallyRevivedObjects& objects) {
      for (const auto& id_and_resource : objects.restored_resources) {
        int node_id = id_and_resource.first;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
Back to top