- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,148 for getDtype (5.7 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
CPred<"quant::ReshapableTo1DTensor($0.getType().cast<ShapedType>())">, "Checks if the value dims are all ones except the right most dim">; def ReshapeTo1DTensor : NativeCodeCall< "quant::ReshapeTo1DTensor($_builder, $_loc, $0)">; def HasEqualShape : Constraint<CPred< "$0.getType().cast<ShapedType>().hasRank() && " "$1.getType().cast<ShapedType>().hasRank() && "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MetadataSnapshot.java
@Override public FileType getType() { return FileType.Directory; } @Override public FileSystemNode asFileSystemNode() { return PartialDirectoryNode.withoutKnownChildren(); } }; /** * The type of the file. */ FileType getType(); FileSystemNode asFileSystemNode();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java
import static org.objectweb.asm.Type.getType; @ServiceScope(Scope.Global.class) public class NamedObjectInstantiator implements ManagedFactory { private static final int FACTORY_ID = Objects.hashCode(Named.class.getName()); private static final Type OBJECT = getType(Object.class); private static final Type STRING = getType(String.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc
} } // Input rhs must be a constant with rank 2. if (constant.getType().getRank() != 2) return failure(); // Create a tfl.transpose op that performs ZX transpose on `input`. auto create_z_x_transpose_op = [&](Value input) -> Value { RankedTensorType input_type = mlir::cast<RankedTensorType>(input.getType()); const int input_rank = input_type.getRank();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java
} if (provider != null) { return provider.getType() != null && elementFilter.getType().isAssignableFrom(provider.getType()); } return false; } } public interface ElementInfo<T> { String getName(); Class<?> getType(); } private static class ObjectBackedElementInfo<T> implements ElementInfo<T> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 16:54:51 UTC 2024 - 35.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/LinuxFileWatcherRegistryFactory.java
Collection<File> directoriesToCheck = vfsRoot.rootSnapshots() .filter(snapshot -> snapshot.getType() != FileType.Missing) .filter(watchableHierarchies::shouldWatch) .map(snapshot -> { switch (snapshot.getType()) { case RegularFile: return new File(snapshot.getAbsolutePath()).getParentFile();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
Type.getType(ClassPath::class.java) ) private val compileSecondStageOfDescriptor = Type.getMethodDescriptor( Type.getType(CompiledScript::class.java), stagedProgram, Type.getType(KotlinScriptHost::class.java), Type.getType(ProgramId::class.java), Type.getType(ProgramKind::class.java), Type.getType(ProgramTarget::class.java),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc
if (auto type = input.getType().dyn_cast<TensorType>()) { if (type.getElementType().isa<FloatType>()) { return false; } if (type.getElementType().isa<QuantizedType>()) { has_quantized_types = true; } } } for (Value output : call_op.getOutput()) { if (auto type = output.getType().dyn_cast<TensorType>()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
InspectResult result = {}; if (auto cst = dyn_cast<ConstOp>(inst)) { attr = cst.getValue(); type = mlir::cast<ShapedType>(cst.getType()); } else if (auto cst = dyn_cast<QConstOp>(inst)) { attr = cst.getValue(); type = mlir::cast<ShapedType>(cst.getType()); } else { result.can_compress = false; return result; } // Currently we only support compressing weights of ops:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
addn.getSum().setType( mlir::cast<TensorType>(addn.getOperand(0).getType())); auto size = it->getSecond(); (*buffer_to_size)[addn.getSum()] = size; } } else if (auto zeros = llvm::dyn_cast<TF::ZerosLikeOp>(&op)) { if (buffer_to_size->count(zeros.getX()) > 0) { zeros.getY().setType(zeros.getX().getType()); auto size = (*buffer_to_size)[zeros.getX()];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0)