- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for OP (0.12 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
LogicalResult match(stablehlo::ReshapeOp op) const override { return success(IsOpFullyQuantized(op)); } void rewrite(stablehlo::ReshapeOp op, PatternRewriter& rewriter) const override { rewriter.replaceOpWithNewOp<TFL::ReshapeOp>( op, op.getOperand(), CreateI32ShapeConstantOp(op.getResult().getType(), op->getLoc(), rewriter));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
LogicalResult ConcatOffsetOp::verify() { ConcatOffsetOp op = *this; if (op.getN() < 2) return op.emitOpError() << "requires N to be at least 2, got " << op.getN(); if (op.getShape().size() != op.getOffset().size()) return op.emitOpError() << "requires sizes of shapes and offsets to be the same, got sizes " << op.getShape().size() << " and " << op.getOffset().size(); auto ranked_dim =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
mlir::LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine& message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getInput(), op.getShape(), error_handler, expected_ty))) return failure(); auto output_ty = op.getType().dyn_cast<RankedTensorType>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
LogicalResult ShapeNOp::verify() { ShapeNOp op = *this; const size_t num_tensors = op.getN(); if (op.getNumOperands() != num_tensors) return op.emitOpError() << "requires " << num_tensors << " operand(s), got " << op.getNumOperands() << " operand(s)"; if (op.getNumResults() != num_tensors) return op.emitOpError() << "requires " << num_tensors << " result(s), got "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} // Returns true if the op creates a TensorList. bool IsTensorListInitOp(Operation* op) { return isa<TensorListReserveOp>(op) || isa<EmptyTensorListOp>(op) || isa<TensorListFromTensorOp>(op); } // Returns the `element_shape` operand of the ops that create a TensorList. Value GetElementShapeOperand(Operation* op) { if (auto empty_tl = dyn_cast<EmptyTensorListOp>(op)) return empty_tl.getElementShape();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteWasm.go
func rewriteValueWasm(v *Value) bool { switch v.Op { case OpAbs: v.Op = OpWasmF64Abs return true case OpAdd16: v.Op = OpWasmI64Add return true case OpAdd32: v.Op = OpWasmI64Add return true case OpAdd32F: v.Op = OpWasmF32Add return true case OpAdd64: v.Op = OpWasmI64Add return true case OpAdd64F: v.Op = OpWasmF64Add return true case OpAdd8:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 03:56:57 UTC 2023 - 108.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS.go
v.Op = OpMIPSSUB return true case OpSubPtr: v.Op = OpMIPSSUB return true case OpTailCall: v.Op = OpMIPSCALLtail return true case OpTrunc16to8: v.Op = OpCopy return true case OpTrunc32to16: v.Op = OpCopy return true case OpTrunc32to8: v.Op = OpCopy return true case OpWB: v.Op = OpMIPSLoweredWB return true case OpXor16: v.Op = OpMIPSXOR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
} return failure(); } // Walks up the op and ignore all precedding ops of type Tys. // Returns the first producer op whose type is not in Tys. template <typename... Tys> Value recursivelyWalkUp(Value op) const { while (llvm::isa_and_nonnull<Tys...>(op.getDefiningOp())) { Operation* producer = op.getDefiningOp(); op = producer->getOperand(/*idx=*/0); } return op;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
} } if op != nil { ps.writeString(op.Name) if ps.llvmStyle && op.Name == "noexcept" { ps.writeByte(' ') } } else if c, ok := u.Op.(*Cast); ok { ps.startScope('(') ps.print(c.To) ps.endScope(')') } else { ps.print(u.Op) } if !u.Suffix { isDelete := op != nil && (op.Name == "delete " || op.Name == "delete[] ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteLOONG64.go
v.Op = OpLOONG64MULV return true case OpMul64F: v.Op = OpLOONG64MULD return true case OpMul8: v.Op = OpLOONG64MULV return true case OpNeg16: v.Op = OpLOONG64NEGV return true case OpNeg32: v.Op = OpLOONG64NEGV return true case OpNeg32F: v.Op = OpLOONG64NEGF return true case OpNeg64: v.Op = OpLOONG64NEGV return true case OpNeg64F:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:26:25 UTC 2023 - 195.8K bytes - Viewed (0)