Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,288 for converts (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Describes an artifact version in terms of its components, converts it to/from a string and
     * compares two versions.
     *
     */
    public interface ArtifactVersion extends Comparable<ArtifactVersion> {
        int getMajorVersion();
    
        int getMinorVersion();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.h

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/core/public/session.h"
    
    namespace mlir {
    namespace tf_saved_model {
    
    // Creates GlobalTensorOp for each variable from function arguments and converts
    // them to the corresponding saved model arguments.
    LogicalResult LiftVariables(ModuleOp module, ::tensorflow::Session* session);
    
    }  // namespace tf_saved_model
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Converts tf.Const to arith.constant for statically shaped, non-opaque constants.
    // Needed for QuantizationDriver to recognize constants.
    def ConvertTfConstToArithConst : Pat<
      (TF_ConstOp:$res DenseElementsAttr:$value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // Delta is not necessarily the same type as start and limit.
        auto abs_cast =
            rewriter.create<mhlo::ConvertOp>(op.getLoc(), compute_type, abs);
        auto delta_cast =
            rewriter.create<mhlo::ConvertOp>(op.getLoc(), compute_type, delta);
    
        // Compute the total number of integer steps and convert to the HLO
        // dimension tensor.
        auto normalized =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/FailureFactory.java

     * limitations under the License.
     */
    
    package org.gradle.internal.problems.failure;
    
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * Converts exceptions to their content-based {@link Failure} representation.
     *
     * @see Failure
     */
    @ServiceScope(Scope.Global.class)
    public interface FailureFactory {
    
        Failure create(Throwable failure);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 986 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    def FloatOrDefaultCompare : Constraint<CPred<
      "!$0 || $0.getValue() == ::mlir::mhlo::ComparisonType::FLOAT">>;
    def SameTypeOrDefaultCompare : Constraint<CPred<
      "SameTypeOrDefaultCompare($0, $1)">>;
    
    // Converts a dag of HLOs representing banker rounding (round x.5 to nearest
    // even) to tf.round. This only supports float types because mhlo.floor only
    // supports float types. tf.round with integer input type will become an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top