Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for canonicalized_input_signature (0.46 sec)

  1. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

      // (args, kwargs), where args is an empty tuple, and kwargs is a dictionary of
      // string keys to TensorSpecs.
      if (!canonicalized_input_signature.has_tuple_value()) {
        return absl::FailedPreconditionError(absl::StrCat(
            "SignatureDefFunction's canonicalized_input_signature should be "
            "of form tuple(tuple(), dict()), but was instead: \n",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function_revival_state.h

      const SavedConcreteFunction* saved_concrete_func;
    
      // This field is only present on TF2 ConcreteFunctions, and is useful for
      // determining the original argument *names* of the function, (since the
      // "canonicalized_input_signature" may append extra uniquifying integers).
      // However, SavedBareConcreteFunctions do not have a FunctionSpec.
      // Note(bmzhao): if function_spec_.has_value(), *function_spec_ is guaranteed
      // to be non-null.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/object_graph_traversal_test.cc

            }
          }
          input_signature {
            tuple_value {
            }
          }
        }
      }
    }
    concrete_functions {
      key: "__inference_my_func_5"
      value {
        canonicalized_input_signature {
          tuple_value {
            values {
              tuple_value {
              }
            }
            values {
              dict_value {
              }
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 20:15:34 UTC 2020
    - 7.9K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/runtime/runtime.cc

                concrete_functions.at(fn_name);
            TaggedValue input_signature = TaggedValue::Tuple();
            const RepeatedPtrField<StructuredValue>& args =
                saved_concrete_function.canonicalized_input_signature()
                    .tuple_value()
                    .values(0)
                    .tuple_value()
                    .values();
            for (const StructuredValue& arg : args) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      // conditions 2 and 3 are trivially satisfied.
      // We need to ensure that:
      // flatten(input_signature).size() + captures.size() = fdef.signature().size()
      // A concrete function's serialized "canonicalized_input_signature" comes
      // from encoding its "structured_input_signature" field:
      // https://github.com/tensorflow/tensorflow/blob/1c064ab76064c58e54261b805027474885a1534d/tensorflow/python/saved_model/function_serialization.py#L70-L71
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          // Our SavedModel import requires input_signature on the tf.function, so
          // we never need to handle the kwonlyargs.
          auto positional_arg_structure =
              concrete_function.canonicalized_input_signature()
                  .tuple_value()
                  .values(0);
          StructuredValueLinearizer input_linearizer(positional_arg_structure,
                                                     builder.getContext());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

          }
          registered_name: "tf.TrackableConstant"
        }
        concrete_functions {
          key: "__inference_<lambda>_18"
          value {
            bound_inputs: 5
            canonicalized_input_signature {
              tuple_value {
                values {
                  tuple_value {
                  }
                }
                values {
                  dict_value {
                  }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
Back to top