Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for named_parameters (0.23 sec)

  1. tensorflow/compiler/mlir/tfr/examples/pad/pad_ops_test.py

    load_library.load_op_library(os.path.join(_lib_dir, _lib_name))
    
    
    class PadOpsDefsTest(test_utils.OpsDefsTest, parameterized.TestCase):
    
      @parameterized.named_parameters(('ReflectMode', 'REFLECT'),
                                      ('SymmetricMode', 'SYMMETRIC'))
      def test_mirror_pad(self, mode):
        input_ = tf.constant([[1, 2, 3], [4, 5, 6]], dtype=tf.float32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm_test.py

        min_value, max_value = calibration_algorithm.get_min_max_value(
            statistics, calib_opts
        )
        self.assertAllEqual((min_value, max_value), (1.0, 10.0))
    
      @parameterized.named_parameters(
          {
              "testcase_name": "with_histogram_percentile",
              "calibration_options": stablehlo_quant_config_pb2.CalibrationOptions(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        self.assertTrue(self._contains_quantized_function_call(output_graphdef))
    
      # Check only the most simple case and the most complicated cases.
      @parameterized.named_parameters(
          {
              'testcase_name': 'none',
              'activation_fn': None,
              'has_bias': False,
              'has_batch_norm': False,
              'target_opset': quant_opts_pb2.TF,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        new_outputs_2 = root.signatures['serving_default'](
            x=ops.convert_to_tensor(input_data)
        )
    
        self.assertAllClose(new_outputs_1, new_outputs_2)
    
      @parameterized.named_parameters(
          ('use_constant_with_int32_input', np.int32, False),
          ('use_variable_with_int32_input', np.int32, True),
          ('use_constant_with_int64_input', np.int64, False),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go

    // the PATCH end-point.
    func supportsQueryParam(doc *openapi_v2.Document, gvk schema.GroupVersionKind, queryParam VerifiableQueryParam) (bool, error) {
    	globalParams := map[string]*openapi_v2.NamedParameter{}
    	for _, p := range doc.GetParameters().GetAdditionalProperties() {
    		globalParams["#/parameters/"+p.GetName()] = p
    	}
    
    	for _, path := range doc.GetPaths().GetPath() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top