- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 9,722 for DelUse (0.42 sec)
-
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc
r_.DelUse(/*ioperation=*/2, /*itensor=*/2); EXPECT_THAT(r_.GetMemProfile(), ElementsAre(0, 0, 0, 0, 4, 0)); EXPECT_THAT(r_.GetPeakMemory(), FieldsAre(Eq(4), Eq(4))); r_.DelUse(/*ioperation=*/2, /*itensor=*/2); EXPECT_THAT(r_.GetMemProfile(), ElementsAre(0, 0, 0, 0, 4, 0)); EXPECT_THAT(r_.GetPeakMemory(), FieldsAre(Eq(4), Eq(4))); r_.DelUse(/*ioperation=*/4, /*itensor=*/2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 19.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
return operations_.size() - 1; } int Rematerializer::AddTensor(const SizeT size) { tensors_.emplace_back(); tensors_.back().size = size; return tensors_.size() - 1; } void Rematerializer::DelUse(const int ioperation, const int itensor) { auto& tensor = tensors_[itensor]; auto& operation = operations_[ioperation]; const auto& size = tensor.size;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 13.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h
// Undoes an AddUse(ioperation, itensor). NoOp if there was no prior `AddUse`. // The arguments must be valid indices (i.e., obtained with // `AddOperation`/`AddTensor`). void DelUse(int ioperation, int itensor); private: // Find the best remat operation that saves at least `min_savings` bytes for a // block of operators with a length is between [`begin_len`, `end_len`).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 12K bytes - Viewed (0) -
test/syntax/else.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 306 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go
b.stmt(s.Init) } then := b.newBlock(KindIfThen, s) done := b.newBlock(KindIfDone, s) _else := done if s.Else != nil { _else = b.newBlock(KindIfElse, s) } b.add(s.Cond) b.ifelse(then, _else) b.current = then b.stmt(s.Body) b.jump(done) if s.Else != nil { b.current = _else b.stmt(s.Else) b.jump(done) } b.current = done case *ast.SwitchStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 11.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/tokens.go
_DotDotDot // ... // keywords _Break // break _Case // case _Chan // chan _Const // const _Continue // continue _Default // default _Defer // defer _Else // else _Fallthrough // fallthrough _For // for _Func // func _Go // go _Goto // goto _If // if _Import // import _Interface // interface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
} else { bElse = bEnd } s.condBranch(n.Cond, bThen, bElse, likely) if len(n.Body) != 0 { s.startBlock(bThen) s.stmtList(n.Body) if b := s.endBlock(); b != nil { b.AddEdgeTo(bEnd) } } if len(n.Else) != 0 { s.startBlock(bElse) s.stmtList(n.Else) if b := s.endBlock(); b != nil { b.AddEdgeTo(bEnd) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
} p.print(_Rbrace) case *IfStmt: p.print(_If, blank) if n.Init != nil { p.print(n.Init, _Semi, blank) } p.print(n.Cond, blank, n.Then) if n.Else != nil { p.print(blank, _Else, blank, n.Else) } case *SwitchStmt: p.print(_Switch, blank) if n.Init != nil { p.print(n.Init, _Semi, blank) } if n.Tag != nil { p.print(n.Tag, blank) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
else_name = mapper.GetUniqueName(if_region.get_elseFuncNameAttr().getValue()) .str(); } else { else_name = GetName(if_region, "_else"); } else_name = ExtractSingleBlockRegion( symbol_table, if_region.getElseBranch(), else_name, extern_values, worklist, /*extern_values_passthrough=*/false, /*only_one_return_value=*/false); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
test/fixedbugs/issue2615.go
return 5 } else if x[0]&(1<<6) != 0 { return 6 } else if x[0]&(1<<7) != 0 { return 7 } else if x[0]&(1<<8) != 0 { return 8 } else if x[0]&(1<<9) != 0 { return 9 } else if x[0]&(1<<10) != 0 { return 10 } else if x[0]&(1<<11) != 0 { return 11 } else if x[0]&(1<<12) != 0 { return 12 } else if x[0]&(1<<13) != 0 { return 13 } else if x[0]&(1<<14) != 0 { return 14
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 11.5K bytes - Viewed (0)