Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for converter_ (0.1 sec)

  1. android/guava/src/com/google/common/base/Converter.java

      }
    
      /**
       * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
       * of this converter. Its {@code reverse} method applies the converters in reverse order.
       *
       * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
       * are.
       */
      public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ---
    name: TensorFlow Lite Converter Issue
    about: Use this template for reporting issues during model conversion to TFLite
    labels: 'TFLiteConverter'
    
    ---
    
    ### 1. System information
    
    - OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    - TensorFlow installation (pip package or built from source):
    - TensorFlow library (version, if pip package or github SHA, if built from source):
    
    ### 2. Code
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ConverterTest.java

            };
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
        assertEquals("5", converter.reverse().convert(5));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java

    import org.codehaus.plexus.component.configurator.converters.ConfigurationConverter;
    import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter;
    import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup;
    import org.codehaus.plexus.component.configurator.converters.lookup.DefaultConverterLookup;
    
    class EnhancedConverterLookup implements ConverterLookup {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

    import org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter;
    import org.codehaus.plexus.component.configurator.converters.basic.AbstractBasicConverter;
    import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter;
    import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.beans.converter.DateConverter;
    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.beans.converter.SqlDateConverter;
    import org.codelibs.core.beans.converter.TimeConverter;
    import org.codelibs.core.beans.converter.TimestampConverter;
    import org.codelibs.core.convert.DateConversionUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/encoder.md

    # Codificador Compatível com JSON
    
    Existem alguns casos em que você pode precisar converter um tipo de dados (como um modelo Pydantic) para algo compatível com JSON (como um `dict`, `list`, etc).
    
    Por exemplo, se você precisar armazená-lo em um banco de dados.
    
    Para isso, **FastAPI** fornece uma função `jsonable_encoder()`.
    
    ## Usando a função `jsonable_encoder`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/response-directly.md

    Por exemplo, você não pode colocar um modelo do Pydantic em uma `JSONResponse` sem antes convertê-lo em um `dict` com todos os tipos de dados (como `datetime`, `UUID`, etc) convertidos para tipos compatíveis com JSON.
    
    Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta:
    
    ```Python hl_lines="6-7  21-22"
    {!../../docs_src/response_directly/tutorial001.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top