- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 476 for Operands (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td
let description = [{ Operation supports folding operand(s) transposes into the operation itself. (1) Operation might have layout dependent operands and results... Example: MaxPool(Transpose($arg, $perm)) -> Transpose(MaxPool($arg, $perm)) (2) ... or it might have only layout dependent operands: Example: Mean(Transpose($arg, $reduction_dims))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 30 19:07:07 UTC 2022 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
constraints.Walk([](Value value, ValueConstraint constraint) { for (OpOperand &operand : value.getUses()) operand.getOwner()->emitRemark( llvm::formatv("operand #{0} constrained to: {1}", operand.getOperandNumber(), constraint)); }); } void EmitInputsConstraintsRemarks(func::FuncOp func,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/colocate_tpu_copy_with_dynamic_shape.cc
device = d->getDevice(); break; } } for (auto *operand : operands) propagateIfChanged(operand, operand->SetDevice(device)); } } void visitBranchOperand(OpOperand &operand) override {} void visitCallOperand(OpOperand &operand) override {} void setToExitState(Device *lattice) override {} };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 00:30:27 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/analyze_variables.cc
} // If any of the operands is a resource type, then we break // and mark the module as not valid for TFLite legalization. // Note: this might disable native variables in more than needed cases. // TODO(b/189370197): Enhance variable analysis. for (auto operand : op->getOperands()) { if (mlir::isa<TF::ResourceType>( getElementTypeOrSelf(operand.getType()))) { legalize_to_tfl = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
ConversionPatternRewriter& rewriter) const final { { OperandRange operands = scatter_op.getInputs(); Value indices = scatter_op.getScatterIndices(); OperandRange updates = scatter_op.getUpdates(); if (operands.size() != 1 || updates.size() != 1) return failure(); ShapedType operand_type = mlir::cast<ShapedType>(operands[0].getType()); ShapedType indices_type = mlir::cast<ShapedType>(indices.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc
// Update caller and function types with new read operands. auto operands = llvm::to_vector<4>(cluster_func.getOperands()); operands.append(read_operands.begin(), read_operands.end()); auto loc = cluster_func.getLoc(); auto new_cluster_func = builder.create<tf_device::ClusterFuncOp>( loc, cluster_func.getResultTypes(), operands, cluster_func->getAttrs());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 16:54:40 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc
// For simplicity, we don't consolidate these ops when all the // non-canonicalizable operands are adjacent. new_values.push_back( rewriter .create<fallback_async::CoreRTTensorHandleToFallbackTensorOp>( op.getLoc(), rewriter.getType<fallback::TFTensorType>(), operand, op->getAttrOfType<mlir::StringAttr>("device"))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 15.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/passes.h
std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeTFOpsPass( std::optional<ModuleOp> tfr_module = std::nullopt); // Rewrites quantized operands and results with their storage types. // This pass should be run at module level after decomposition, if there are // quantized operands or results. std::unique_ptr<OperationPass<ModuleOp>> CreateRewriteQuantizedIOPass(); // Raise to TF ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 2K bytes - Viewed (0) -
src/go/parser/testdata/issue44504.src
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 410 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
"Has to fallback values which might introduce errors.\n"); // Use the first immutable state to quantize the rest operands and results. if (!immutable_states.empty()) return immutable_states.front()->params; // If there are no immutable states, use the operand's state if it is the // only one operand and has parameters propagated. if (op->getNumOperands() == 1 && mutable_operands_num == 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0)