Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for SELF (0.07 sec)

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

              )
    
          def has_reshape(self) -> bool:
            return self.bias_fn() and self.bias_size != self.filters.shape[-1]
    
          @def_function.function
          def matmul(self, input_tensor: core.Tensor) -> Mapping[str, core.Tensor]:
            """Performs a matrix multiplication.
    
            Depending on self.bias_fn and self.activation_fn, it may add a bias
            term or go through the activaction function.
    
    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/representative_dataset_test.py

        """
        for sample_1, sample_2 in zip(repr_ds_1, repr_ds_2):
          self.assertCountEqual(sample_1.keys(), sample_2.keys())
    
          for input_key in sample_1:
            self._assert_tensorlike_all_close(
                sess, sample_1[input_key], sample_2[input_key]
            )
    
      def test_not_implemented_saver(self):
        with self.assertRaisesRegex(
            NotImplementedError, '"save" is not implemented.'
        ):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java

        }
    
        @InterceptGroovyCalls
        @InstanceMethod
        @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
        public static void intercept_eachByte(
            @Receiver File self,
            int bufferLen,
            Closure<?> closure,
            @CallerClassName String consumer
        ) throws IOException {
            Instrumented.fileOpened(self, consumer);
            ResourceGroovyMethods.eachByte(self, bufferLen, closure);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:56 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        # So hist_mids[i] = (lower_bound + bin_width / 2) + bin_width * i
        first_mid = self._lower_bound + self._bin_width / 2
        last_mid = first_mid + (self._num_bins - 1) * self._bin_width
        self._hist_mids = np.linspace(first_mid, last_mid, self._num_bins)
    
      def _get_dequantized_hist_mids_after_quantize(
          self, quant_min: float, quant_max: float
      ) -> np.ndarray:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                    public static int access_get_getMaxErrors(Task self) {
                        ${getDefaultDeprecation("Task", "maxErrors")}
                        return self.getMaxErrors().getOrElse(0);
                    }
    
                    public static void access_set_setMaxErrors(Task self, int arg0) {
                        ${getDefaultDeprecation("Task", "maxErrors")}
                        self.getMaxErrors().set(arg0);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java

            return self.modify(providerToDependency);
        }
    
        /**
         * Modifies a dependency.
         *
         * @param dependency dependency to modify
         * @return the modified dependency
         * @since 8.0
         */
        public static <D extends ModuleDependency> D call(DependencyModifier self, D dependency) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. fastapi/security/http.py

                    """
                ),
            ] = True,
        ):
            self.model = HTTPBaseModel(scheme="basic", description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.realm = realm
            self.auto_error = auto_error
    
        async def __call__(  # type: ignore
            self, request: Request
        ) -> Optional[HTTPBasicCredentials]:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. fastapi/params.py

    class Depends:
        def __init__(
            self, dependency: Optional[Callable[..., Any]] = None, *, use_cache: bool = True
        ):
            self.dependency = dependency
            self.use_cache = use_cache
    
        def __repr__(self) -> str:
            attr = getattr(self.dependency, "__name__", type(self.dependency).__name__)
            cache = "" if self.use_cache else ", use_cache=False"
            return f"{self.__class__.__name__}({attr}{cache})"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. fastapi/security/oauth2.py

                    auth.
                    """
                ),
            ] = None,
        ):
            self.grant_type = grant_type
            self.username = username
            self.password = password
            self.scopes = scope.split()
            self.client_id = client_id
            self.client_secret = client_secret
    
    
    class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm):
        """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

            validate that the sample has same set of input keys before saving.
    
        Raises:
          KeyError: If path_map and expected_input_key_map have different keys.
        """
        self.path_map: Mapping[str, os.PathLike[str]] = path_map
        self.expected_input_key_map: Mapping[str, Collection[str]] = {}
        if expected_input_key_map is not None:
          if set(path_map.keys()) != set(expected_input_key_map.keys()):
            raise KeyError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top