Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 160 for Imcasts (0.1 sec)

  1. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

        if (map instanceof ImmutableClassToInstanceMap) {
          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
          Map rawMap = map;
          @SuppressWarnings("unchecked") // covariant casts safe (unmodifiable)
          ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap<B>) rawMap;
          return cast;
        }
        return new Builder<B>().putAll(map).build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    #include "tensorflow/compiler/tf2xla/tf2xla_defs.h"
    
    namespace mlir {
    namespace TF {
    
    // TODO(b/229028654) Use definitions from tf2xla_defs.h directly. We currently
    // don't do this to avoid explicit casts (implicit conversion from
    // `absl::string_view` to `llvm::StringRef` is not supported until C++17).
    
    // Whether soft placement is allowed. If true, the marked node is eligible for
    // outside compilation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * Retrieves public methods for a class. In case the class is not
         * public, retrieves methods with same signature as its public methods
         * from public superclasses and interfaces (if they exist). Basically
         * upcasts every method to the nearest acccessible method.
         */
        private static Method[] getAccessibleMethods(Class<?> clazz) {
            Method[] methods = clazz.getMethods();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      pass_manager->addPass(
          mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass());
    
      if (pass_config.shape_inference) {
        // Add a shape inference pass to optimize away the unnecessary casts.
        pass_manager->addPass(mlir::TF::CreateTFShapeInferencePass());
      }
    
      // Legalize while early to allow further constant folding.
      // TODO(jpienaar): This may not actually matter as we do canonicalization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java

                    builder.add(Simple.typed(typeArgument));
                }
                return builder.build();
            } else {
                return Collections.emptyList();
            }
        }
    
        /**
         * Casts this {@code ModelType} object to represent a subclass of the class
         * represented by the specified class object.  Checks that the cast
         * is valid, and throws a {@code ClassCastException} if it is not.  If
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

          yield_op->getOperands().take_front(num_loop_carried);
      args.reserve(loop_carried_yield_operands.size() + new_args.size());
      if (passthru_extra_args) {
        // Add operands of yield to the return, inserting casts if needed.
        for (auto it : llvm::zip_first(loop_carried_yield_operands, types)) {
          auto value = std::get<0>(it);
          auto type = std::get<1>(it);
          if (value.getType() == type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

        "tf.Yield"(%1) : (tensor<*xf32>) -> ()
     }) {is_stateless = false} : (tensor<i1>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    // -----
    
    // Match existing function->Region pattern (with casts) for IfRegion
    
    func.func private @testIf1Then(tensor<*xf32>) -> tensor<*xf32>
    func.func private @testIf1Else(tensor<*xf32>) -> tensor<*xf32>
    func.func @testIf2Result(%arg0: tensor<i1>, %arg1: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java

            super(ASM_LEVEL, methodVisitor);
        }
    
        public void emit(BytecodeFragment bytecode) {
            bytecode.emit(mv);
        }
    
        /**
         * Unboxes or casts the value at the top of the stack.
         */
        public void _UNBOX(Type targetType) {
            switch (targetType.getSort()) {
                case Type.BOOLEAN:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. tensorflow/c/tf_tensor.cc

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/core/coding.h"
    #include "tensorflow/core/platform/casts.h"
    
    using tensorflow::Status;
    using tensorflow::Tensor;
    using tensorflow::TensorBuffer;
    using tensorflow::errors::FailedPrecondition;
    using tensorflow::errors::InvalidArgument;
    
    #ifndef LIBTPU_EXCLUDE_C_API_IMPL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/gtl/flatmap.h"
    #include "tensorflow/core/lib/hash/hash.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/macros.h"
    #include "tensorflow/core/platform/path.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top