Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for einsum_without_kernel (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                  ),
                  tensor_spec.TensorSpec(
                      name='y', shape=y_signature, dtype=dtypes.float32
                  ),
              ]
          )
          def einsum_without_kernel(
              self, x: core.Tensor, y: core.Tensor
          ) -> Mapping[str, core.Tensor]:
            return self._einsum(x, y)
    
          def _einsum(self, x, y):
    
            out = tensorflow.einsum(equation, x, y)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            np.random.uniform(size=y_shape), dtype=dtypes.float32
        )
        if use_kernel:
          model.einsum = model.einsum_with_kernel
          model_inputs = {'x': x}
        else:
          model.einsum = model.einsum_without_kernel
          model_inputs = {'x': x, 'y': y}
    
        saved_model_save.save(
            model, self._input_saved_model_path, signatures=model.einsum
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

                  ),
                  tensor_spec.TensorSpec(
                      name='y', shape=y_signature, dtype=dtypes.float32
                  ),
              ]
          )
          def einsum_without_kernel(
              self, x: core.Tensor, y: core.Tensor
          ) -> Mapping[str, core.Tensor]:
            return self._einsum(x, y)
    
          def _einsum(self, x, y):
            if is_qat_model:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top