Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,370 for Cast (0.04 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/ServiceReferencePropertyAnnotationHandler.java

                TypeToken<?> declaredType = propertyMetadata.getDeclaredType();
                Class<?> serviceType = Cast.uncheckedCast(((ParameterizedType) declaredType.getType()).getActualTypeArguments()[0]);
                visitor.visitServiceReference(propertyName, propertyMetadata.isAnnotationPresent(Optional.class), value, serviceName, Cast.uncheckedCast(serviceType));
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

            if (canBeViewedAs(type)) {
                return Cast.uncheckedCast(toView(modelNode, ruleDescriptor, true));
            } else {
                return null;
            }
        }
    
        @Override
        public <T> ModelView<? extends T> asImmutable(ModelType<T> type, MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor) {
            if (canBeViewedAs(type)) {
                return Cast.uncheckedCast(toView(modelNode, ruleDescriptor, false));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

      "SliceDenseIntElementsAttrColumn2D($0.cast<ElementsAttr>(), " # column # " )">;
    
    class SliceDenseIntElementsAttr<string index, string axis> : NativeCodeCall<
      "SliceDenseIntElementsAttr($0.cast<ElementsAttr>(), " # index # ", " # axis # ")">;
    
    // Interior padding attribute based on the TF padding.
    def GetInteriorPadding : NativeCodeCall <
      "GetInteriorPadding($0.cast<ElementsAttr>())">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java

            @Override
            public THIS value(@Nullable T value) {
                super.value(value);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public THIS value(Provider<? extends T> provider) {
                super.value(provider);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public void set(@Nullable File file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.h

      auto op_func_attrs = op.getOpFuncAttrs();
      if (!op_func_attrs.empty()) {
        auto print_key_value = [&](mlir::Attribute attr) {
          auto key_value = mlir::cast<mlir::ArrayAttr>(attr).getValue();
          auto key = key_value[0];
          auto value = key_value[1];
    
          p << mlir::cast<mlir::StringAttr>(key).getValue();
          p << " = ";
          p << value;
        };
    
        auto op_func_attr_array = op_func_attrs.getValue();
        p << " {";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/CastExtensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.stdlib
    
    import org.gradle.internal.Cast
    
    
    fun <T> Any.uncheckedCast(): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 767 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      }
    }
    
    LogicalResult SpaceToBatchNDOp::verify() {
      SpaceToBatchNDOp op = *this;
      const auto input_type = op.getInput().getType().cast<TensorType>();
      const auto block_shape_type = op.getBlockShape().getType().cast<TensorType>();
      const auto paddings_type = op.getPaddings().getType().cast<TensorType>();
    
      // Check that block_shape has rank 1.
      if (!IsOfRankOrUnranked(op.getBlockShape(), 1)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionTypeProvider.kt

         *   }
         * ```
         * Note that only nullability from "stable" smart cast types is considered. The
         * [spec](https://kotlinlang.org/spec/type-inference.html#smart-cast-sink-stability) provides an explanation on smart cast stability.
         */
        public fun KtExpression.isDefinitelyNull(): Boolean =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-replace-cast-hacks-with-tf-xla-ops";
      }
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Replace mixed-type Conv and Matmul cast hacks with TF XLA ops.";
      }
    
      void runOnOperation() override;
    };
    
    // Generates params for the XLA Convolution op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_quantize_op_utils.cc

    namespace mlir {
    namespace quant {
    
    UnrankedTensorType CreateUnknownShapeFromElementType(Type tensor_type) {
      if (!mlir::cast<TensorType>(tensor_type)) return UnrankedTensorType();
      return UnrankedTensorType::get(
          mlir::cast<TensorType>(tensor_type).getElementType());
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top