- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,148 for getDtype (0.48 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelViews.java
if (type.isAssignableFrom(untypedView.getType())) { @SuppressWarnings("unchecked") ModelView<T> view = (ModelView<T>) untypedView; return view; } else { // TODO better exception type throw new IllegalArgumentException("Model view of type " + untypedView.getType() + " requested as " + type); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy
when: container.named("a", method) then: ex = thrown(Throwable) assertDoesNotAllowMethod(ex, methodUnderTest) when: container.named("a", getType(), method) then: ex = thrown(Throwable) assertDoesNotAllowMethod(ex, methodUnderTest) when: container.withType(container.type).named("a").configure(method) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
SmallVector<Value> newOperands; newOperands.reserve(op->getNumOperands()); for (auto operand : op->getOperands()) { if (QuantizedType::getQuantizedElementType(operand.getType())) { auto newTy = QuantizedType::castToExpressedType(operand.getType()); newOperands.push_back( rewriter.create<TFL::DequantizeOp>(loc, newTy, operand)); continue; } newOperands.push_back(operand); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h
auto weight = op->getOperand(1); auto weight_type = mlir::dyn_cast_or_null<mlir::RankedTensorType>(weight.getType()); if (weight_type == nullptr || !weight_type.hasStaticShape()) return false; auto output = op->getResult(0); auto output_type = mlir::dyn_cast_or_null<mlir::RankedTensorType>(output.getType()); if (output_type == nullptr || !output_type.hasStaticShape()) return false; int64_t cols = 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
mlir::getElementTypeOrSelf(next_iter_sink.getInput().getType())); auto op_name_or_status = GetTensorFlowOpName(op->getName().getStringRef()); if (!op_name_or_status.ok()) return false; auto op_name = std::move(op_name_or_status).value(); if (op_name == "NextIteration") return mlir::isa<mlir::TF::TensorFlowRefType>( mlir::getElementTypeOrSelf(op->getOperand(0).getType()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbstractFingerprintCompareStrategy.java
return DefaultFileChange.added(path, propertyTitle, current.getType(), current.getNormalizedPath()); } @Override public Change removed(String path, String propertyTitle, FileSystemLocationFingerprint previous) { return DefaultFileChange.removed(path, propertyTitle, previous.getType(), previous.getNormalizedPath()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/SidTest.java
assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName()); assertEquals(getTestUser(), s.getAccountName()); assertEquals(jcifs.SID.SID_TYPE_USER, s.getType()); } @Test public void resolveGroupSID () throws IOException { String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID); SID s = new SID(sid);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/types/FilterableBytecodeInterceptor.java
*/ public interface FilterableBytecodeInterceptor { BytecodeInterceptorType getType(); /** * A marker interface that indicates that a class is used for bytecode upgrades. */ interface BytecodeUpgradeInterceptor extends FilterableBytecodeInterceptor { @Override default BytecodeInterceptorType getType() { return BytecodeInterceptorType.BYTECODE_UPGRADE; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 13:55:59 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
auto current_type = quant::QuantizedType::getQuantizedElementType( quantize_output.getType()) .getStorageType(); if (current_type == input_type) { // int8 == int8 arg_type = quantize_output.getType(); new_arg = block.addArgument(arg_type, loc); quantize_output.replaceAllUsesWith(new_arg);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc
.def("getArguments", [](mlir::func::FuncOp& f) { return f.getArguments().vec(); }) .def("getName", [](mlir::func::FuncOp& f) { return f.getName().str(); }) .def("getType", &mlir::func::FuncOp::getFunctionType); py::class_<mlir::func::ReturnOp>(m, "ReturnOp") .def("create", [](mlir::OpBuilder& opb, mlir::Location loc,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 7.6K bytes - Viewed (0)