Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_concrete_function (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        # Create and save a model having 2 signatures.
        model = MultipleSignatureModel()
    
        signatures = {
            'sig1': model.matmul.get_concrete_function(
                tensor_spec.TensorSpec(shape=(1, 4), dtype=dtypes.float32)
            ),
            'sig2': model.conv.get_concrete_function(
                tensor_spec.TensorSpec(shape=(1, 3, 4, 3), dtype=dtypes.float32)
            ),
        }
        saved_model_save.save(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top