Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,701 for converts (0.71 sec)

  1. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.h

    #include "tensorflow/lite/toco/model_flags.pb.h"
    #include "tensorflow/lite/toco/toco_flags.pb.h"
    
    namespace tensorflow {
    
    // Converts the given saved_model(either v1 or v2) to a TF Lite FlatBuffer
    // string according to the given model flags, toco flags and tags. Returns error
    // status if it fails to convert the input.
    Status ConvertSavedModelToTFLiteFlatBuffer(
        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ObjectGraphAdapter.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.adapter;
    
    import javax.annotation.Nullable;
    
    /**
     * Converts or adapts objects to views over the objects.
     */
    public interface ObjectGraphAdapter {
        @Nullable
        <T> T adapt(Class<T> targetType, Object sourceObject);
    
        <T> ViewBuilder<T> builder(Class<T> viewType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 928 bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java

    import org.apache.commons.lang.StringUtils;
    import org.gradle.api.Describable;
    
    public class Describables {
        private Describables() {
        }
    
        /**
         * Returns a describable that converts the provided value to a string each time the display name is queried. Can pass a {@link Describable} or {@link DisplayName}.
         */
        public static DisplayName of(Object displayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/python/graphdef_to_tfl_flatbuffer.h

    #include "tensorflow/lite/toco/model_flags.pb.h"
    #include "tensorflow/lite/toco/toco_flags.pb.h"
    
    namespace tensorflow {
    
    // Converts the given GraphDef to a TF Lite FlatBuffer string according to the
    // given model flags, toco flags and debug information. Returns error status if
    // it fails to convert the input.
    absl::Status ConvertGraphDefToTFLiteFlatBuffer(
        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

    def do_test(create_module_fn, exported_names=None, show_debug_info=False):
      """Runs test.
    
      1. Performs absl and tf "main"-like initialization that must run before almost
         anything else.
      2. Converts `tf.Module` to SavedModel
      3. Converts SavedModel to MLIR
      4. Prints the textual MLIR to stdout (it is expected that the caller will have
         FileCheck checks in its file to check this output).
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/object.h

    /// Converts a C++ int64_t to an Integer handle.
    template <>
    inline Handle Convert(int64_t value) {
      return Integer(value);
    }
    /// Converts a C++ float to an Integer handle.
    template <>
    inline Handle Convert(float value) {
      return Float(value);
    }
    /// Converts a value with primitive type T to a Handle.
    template <class T>
    inline Handle Convert(T value) {
      return Handle(std::move(value));
    }
    
    /// @}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/DaemonCommandLineConverterTest.groovy

        }
    
        def "can convert stop option - #options"() {
            when:
            def converted = convert(options)
    
            then:
            converted.stop == stop
    
            where:
            options    | stop
            []         | false
            ['--stop'] | true
        }
    
        def "can convert status option - #options"() {
            when:
            def converted = convert(options)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/nop_converter.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // nopConverter is a converter that only sets the apiVersion fields, but does not real conversion.
    type nopConverter struct {
    }
    
    var _ crConverterInterface = &nopConverter{}
    
    // ConvertToVersion converts in object to the given gv in place and returns the same `in` object.
    func (c *nopConverter) Convert(in runtime.Object, targetGV schema.GroupVersion) (runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/split_into_island_per_op_pass.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSLATE_SPLIT_INTO_ISLAND_PER_OP_PASS_H_
    
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
    
    namespace mlir {
    namespace TF {
    
    // Converts a single island into multiple islands (one for each op).
    void SplitIsland(mlir::tf_executor::IslandOp island_op,
                     mlir::tf_executor::ControlType control_type);
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 19 21:44:14 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top