Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for signatureKey (0.33 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        api.allTypes()
            .filter { type -> type.isPublic && apiSpec.isApi(type.sourceName) }
            .flatMap { type -> kotlinExtensionFunctionsFor(type, sinceSupplier) }
            .distinctBy(::signatureKey)
    
    
    private
    fun signatureKey(extension: KotlinExtensionFunction): List<Any> = extension.run {
        listOf(targetType.sourceName, name) +
            parameters.flatMap { apiTypeKey(it.type) }
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

    
    @SuppressWarnings ( "javadoc" )
    public class PacMac {
    
        /**
         * 
         */
        private static final String HMAC_KEY = "HMAC";
        private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII);
        private static final byte[] ZERO_IV = new byte[] {
            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
        };
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        sess: session.Session,
        signature_def: meta_graph_pb2.SignatureDef,
        representative_dataset: rd.RepresentativeDataset,
    ) -> None:
      """Runs the representative dataset through a function for calibration.
    
      NOTE: This is intended to be run in graph mode (TF1).
    
      The function is identified by the SignatureDef.
    
      Args:
        sess: The Session object to run the function in.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    # Mapping of signature def key -> SignatureDef.
    _SignatureDefMap = Mapping[str, meta_graph_pb2.SignatureDef]
    
    
    def get_signatures_from_saved_model(
        saved_model_path: str,
        signature_keys: Optional[Sequence[str]] = None,
        tags: Optional[Collection[str]] = None,
    ) -> Dict[str, meta_graph_pb2.SignatureDef]:
      """Gets a map from signature keys to their SignatureDef.
    
      Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

    
    def _serialize_signature_def_map(
        signature_def_map: _SignatureDefMap,
    ) -> dict[str, bytes]:
      """Serializes SignatureDef values in `signature_def_map`.
    
      Args:
        signature_def_map: Signature key -> SignatureDef mapping.
    
      Returns:
        Signature def map where the values (`SignatureDef`) are serialized.
      """
      signature_def_map_serialized = {}
      for key, signature_def in signature_def_map.items():
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function_revival_state.h

      // of the inputs and outputs of a function.
      // Note(bmzhao): saved_concrete_func_ is guaranteed to be non-null.
      const SavedConcreteFunction* saved_concrete_func = nullptr;
    
      // The name of the SignatureDef key.
      std::string signature_key;
    
      // TensorHandle captures for this funtion
      std::vector<ImmediateExecutionTensorHandle*> captures;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        Args:
          output_path: Path to the directory to save the created model.
          tags: Set of strings that identifies the saved meta graph.
          signature_def_key: Name of the SignatureDef. Used to identify the
            SignatureDef within the meta graph.
    
        Returns:
          inputs: A mapping of input_key -> input_tensor (placeholder). The input
            key is "input_vocabs".
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/representative_dataset.cc

        // If the signature_key has not been explicitly specified, use the default
        // value of "serving_default".
        const std::string signature_key = dataset_config.has_signature_key()
                                              ? dataset_config.signature_key()
                                              : "serving_default";
        if (repr_dataset_file_map.contains(signature_key)) {
          return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 29 04:53:21 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/python/quantization.py

    # Mapping of signature def key -> SignatureDef.
    _SignatureDefMap = Mapping[str, meta_graph_pb2.SignatureDef]
    
    
    def _serialize_signature_def_map(
        signature_def_map: _SignatureDefMap,
    ) -> dict[str, bytes]:
      """Serializes SignatureDef values in `signature_def_map`.
    
      Args:
        signature_def_map: Signature key -> SignatureDef mapping.
    
      Returns:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. tensorflow/cc/tools/freeze_saved_model_test.cc

        EXPECT_EQ(actual.ShortDebugString(), expected.ShortDebugString());
      }
    
      // Builds a SignatureDef with the provided `inputs` and `outputs`.
      SignatureDef BuildSignatureDef(const std::unordered_set<string>& inputs,
                                     const std::unordered_set<string>& outputs) {
        SignatureDef signature_def;
        for (const string& input : inputs) {
          (*signature_def.mutable_inputs())[input].set_name(input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
Back to top