- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for newop (0.13 sec)
-
src/reflect/all_test.go
var info []caseInfo // Ready send. if x.Maybe() { ch, val := newop(len(cases), 1) cases = append(cases, SelectCase{ Dir: SelectSend, Chan: ch, Send: val, }) info = append(info, caseInfo{desc: "ready send", canSelect: true}) } // Ready recv. if x.Maybe() { ch, val := newop(len(cases), 1) ch.Send(val) cases = append(cases, SelectCase{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
return ConstFoldUnaryOp(result_type, operands[0], compute); } //===----------------------------------------------------------------------===// // NegOp //===----------------------------------------------------------------------===// OpFoldResult NegOp::fold(FoldAdaptor adaptor) { auto operands = adaptor.getOperands(); Type result_type = getType(); // Only constant fold for tensor of f32 is implemented.
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/lite/stablehlo/transforms/legalize_hlo.cc
auto new_op = rewriter.create<TF::IfRegionOp>( op.getLoc(), op->getResultTypes(), op.getPred(), /*is_stateless=*/false, /*_then_func_name=*/nullptr, /*_else_func_name=*/nullptr); new_op.getThenBranch().takeBody(op.getTrueBranch()); new_op.getElseBranch().takeBody(op.getFalseBranch()); ReplaceReturnOp(new_op.getThenBranch(), rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
} // If no pass through values are found, no change is required. if (result_to_extern_value.empty()) return failure(); // Create new case/if region op. auto new_op = CreateTfOp<CaseOrIfRegionOp>(rewriter, op, new_result_types, op.getOperand(), op->getAttrs(), op.getNumRegions());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
} else { for i := range expected[x] { newEp := newMap[x][i] if newEp.String() != expected[x][i].endpoint || newEp.IsLocal() != expected[x][i].isLocal { t.Errorf("[%d] expected new[%v][%d] to be %v, got %v", tci, x, i, expected[x][i], newEp) } } } } } func Test_syncService(t *testing.T) { testCases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
if (!IsBroadcastableElementsAttrAndType(new_type, filter.getType())) { return failure(); } auto new_op = rewriter.create<arith::ConstantOp>(mul_op.getLoc(), new_type, new_cst); Value new_const_val = new_op.getResult(); // Rewrite. Since the folder of TFL::MulOp couldn't broadcast the operands, // TF::MulOp is used to fold the constant.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
}; #include "tensorflow/compiler/mlir/tensorflow/transforms/generated_canonicalize.inc" } // namespace INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(NcclAllReduceOp); INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(NegOp); INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(OnesLikeOp); INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(PreventGradientOp); INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(QuantizeAndDequantizeOp);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)