Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,307 for casts (0.92 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java

         *
         * @param outputType The type to cast the input to
         * @param object The object to be cast (must not be {@code null})
         * @param <O> The type to be cast to
         * @param <I> The type of the object to be vast
         * @return The input object, cast to the output type
         */
        public static <O, I> O cast(Class<O> outputType, I object) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/InternalTransformers.java

         * Creates a transformer that simply type casts the input to the given output type.
         *
         * @param outputType The type to cast the input to
         * @param <O> The type of the transformed object
         * @param <I> The type of the object to be transformed
         * @return A transformer that simply type casts the input to the given output type.
         */
        public static <O, I> InternalTransformer<O, I> cast(Class<O> outputType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

         *
         * ```kt
         * if (this is String) {
         *   this.substring() // 'this' receiver is explicit, so no implicit smart-cast here.
         *
         *   smartcast() // 'this' receiver is implicit, therefore there is implicit smart-cast involved.
         * }
         * ```
         */
        public fun KtExpression.getImplicitReceiverSmartCast(): Collection<KaImplicitReceiverSmartCast> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc

      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-cast-bf16-ops-to-f32";
      }
      StringRef getDescription() const final {
        return "Cast BF16 operations to F32.";
      }
    
      void runOnOperation() override;
    };
    
    class CastBf16OpsToF32 : public RewritePattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/SparseImmutableTable.java

      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h

    // Creates an instance of the ConvertTFQuantTypes pass, which will convert TF
    // qint types to int types and surround TF UniformQuantized ops with qint <->
    // int casts.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass();
    
    // Creates an instance of the VerifyQuantLegalization pass, which verifies all
    // quant ops and types are lowered.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.cc

    #include <string>
    
    #include "absl/strings/match.h"
    #include "absl/strings/string_view.h"
    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/protobuf.h"
    
    namespace tensorflow {
    
    namespace {
    // Error collector that simply ignores errors reported.
    class NoOpErrorCollector : public protobuf::io::ErrorCollector {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

            const Type original_type = op_result.getType();
            op_result.setType(ToBfloat16Type(original_type));
            const Value cast =
                builder.create<TF::CastOp>(op->getLoc(), original_type, op_result);
            op_result.replaceAllUsesExcept(cast, cast.getDefiningOp());
          }
        }
        return WalkResult::advance();
      });
    
      if (result.wasInterrupted()) return signalPassFailure();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. tensorflow/c/tf_tensor_internal.h

    #include "tensorflow/core/framework/allocation_description.pb.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/status.h"
    
    // Internal structures used by the C API. These are likely to change and should
    // not be depended on.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top