Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for registry_ (0.12 sec)

  1. tensorflow/c/eager/gradients.cc

    absl::Status GradientRegistry::Register(
        const string& op_name, GradientFunctionFactory gradient_function_factory) {
      auto iter = registry_.find(op_name);
      if (iter != registry_.end()) {
        const string error_msg = "Gradient already exists for op: " + op_name + ".";
        return errors::AlreadyExists(error_msg);
      }
      registry_.insert({op_name, gradient_function_factory});
      return absl::OkStatus();
    }
    absl::Status GradientRegistry::Lookup(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            }
    
            @Override
            public org.apache.maven.lifecycle.Lifecycle get() {
                try {
                    LifecycleRegistry registry = lookup.lookup(LifecycleRegistry.class);
                    return new WrappedLifecycle(registry, registry.require(name));
                } catch (ComponentLookupException e) {
                    throw new LookupException(e);
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/handling-errors.md

    Portanto, você pode continuar lançando o `HTTPException` do **FastAPI** normalmente no seu código.
    
    Porém, quando você registrar um manipulador de exceção, você deve registrá-lo através do `HTTPException` do Starlette.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.of("www", "foo.ihopethiswillneverbeapublicsuffix", "x.y.z");
    
      /**
       * Having a public suffix is equivalent to having a registry suffix, because all registry suffixes
       * are public suffixes, and all public suffixes have registry suffixes.
       */
      private static final ImmutableSet<String> NO_RS = NO_PS;
    
      private static final ImmutableSet<String> NON_PS =
          ImmutableSet.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.CopyOnWriteArraySet;
    import javax.annotation.CheckForNull;
    
    /**
     * Registry of subscribers to a single event bus.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    final class SubscriberRegistry {
    
      /**
       * All registered subscribers, indexed by event type.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_tutorial001.py

    from tests.utils import needs_py39, needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001",
            pytest.param("tutorial001_py39", marks=needs_py39),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from tests.utils import needs_py39, needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial002",
            pytest.param("tutorial002_py39", marks=needs_py39),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. docs/pt/docs/alternatives.md

    Ele alcança de uma forma similar ao que pode ser feito com o Flask-apispec.
    
    Ele tem um sistema de injeção de dependência integrado, inspirado pelo Angular 2. É necessário fazer o pré-registro dos "injetáveis" (como todos os sistemas de injeção de dependência que conheço), então, adicionando verbosidade e repetição de código.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/index.md

    /// check | "Checando"
    
    Perceba que você não precisa criar uma classe especial e enviar a dependência para algum outro lugar em que o **FastAPI** a "registre" ou realize qualquer operação similar.
    
    Você apenas envia para `Depends` e o **FastAPI** sabe como fazer o resto.
    
    ///
    
    ## Compartilhando dependências `Annotated`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

            </field>
            <field>
              <name>usePluginRegistry</name>
              <version>1.0.0+</version>
              <description>
                Whether Maven should use the {@code plugin-registry.xml} file to manage plugin versions.
              </description>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>offline</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top