Home
last modified time | relevance | path

Searched refs:Tape (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/test/SemaCXX/
Dconstexpr-turing.cpp17 struct Tape { struct
18 constexpr Tape() : l(0), val(false), r(0) {} in Tape() argument
19 constexpr Tape(const Tape &old, bool write) : in Tape() function
21 constexpr Tape(const Tape &old, Dir dir) : in Tape() argument
26 const Tape *l; argument
28 const Tape *r; argument
30 constexpr Tape update(const Tape &old, bool write) { return Tape(old, write); } in update()
31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } in move()
35 constexpr unsigned run(const State *tm, const Tape &tape, unsigned state) { in run()
48 static_assert(run(bb3, Tape(), 0) == 21, "");
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dconstexpr-turing.cpp17 struct Tape { struct
18 constexpr Tape() : l(0), val(false), r(0) {} in Tape() argument
19 constexpr Tape(const Tape &old, bool write) : in Tape() argument
21 constexpr Tape(const Tape &old, Dir dir) : in Tape() argument
26 const Tape *l; argument
28 const Tape *r; argument
30 constexpr Tape update(const Tape &old, bool write) { return Tape(old, write); } in update()
31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } in move()
35 constexpr unsigned run(const State *tm, const Tape &tape, unsigned state) { in run()
48 static_assert(run(bb3, Tape(), 0) == 21, "");
[all …]
Dconstexpr-turing-cxx2a.cpp15 struct Tape { struct
16 constexpr Tape() = default;
17 constexpr ~Tape() { in ~Tape() argument
21 constexpr Tape *left() { in left() argument
22 if (!l) { l = new Tape; l->r = this; } in left()
25 constexpr Tape *right() { in right() argument
26 if (!r) { r = new Tape; r->l = this; } in right()
29 Tape *l = nullptr; argument
31 Tape *r = nullptr; argument
37 Tape *tape = new Tape; in run()
/external/tensorflow/tensorflow/python/framework/experimental/
Dtape.cc48 py::class_<Tape>(m, "Tape") in PYBIND11_MODULE()
49 .def(py::init([](bool persistent) { return new Tape(persistent); })) in PYBIND11_MODULE()
50 .def("Watch", [](Tape* self, AbstractTensorHandle* t) { self->Watch(t); }) in PYBIND11_MODULE()
52 [](Tape* self, AbstractContext* ctx, in PYBIND11_MODULE()
70 [](AbstractContext* ctx, Tape* tape, GradientRegistry* registry) { in PYBIND11_MODULE()
Dtape.py31 self._c_tape = _tape.Tape(persistent)
/external/tensorflow/tensorflow/c/experimental/gradients/tape/
Dtape_context.h25 explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&);
38 Tape* tape_;
Dtape_operation.h25 explicit TapeOperation(AbstractOperation*, Tape*, const GradientRegistry&);
74 Tape* tape_;
Dtape_context.cc22 TapeContext::TapeContext(AbstractContext* c, Tape* tape, in TapeContext()
Dtape_operation.cc22 TapeOperation::TapeOperation(AbstractOperation* parent_op, Tape* tape, in TapeOperation()
/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_testutil.cc49 auto tape = new Tape(/*persistent=*/false); in AddGradModel()
73 auto tape = new Tape(/*persistent=*/false); in MatMulGradModel()
171 auto tape = new Tape(/*persistent=*/true); in MNISTGradModel()
Dgradients.cc222 void Tape::Watch(const AbstractTensorHandle* t) { in Watch()
225 void Tape::RecordOperation(absl::Span<AbstractTensorHandle* const> inputs, in RecordOperation()
248 bool Tape::ShouldRecord( in ShouldRecord()
258 void Tape::DeleteTrace(const AbstractTensorHandle* t) { in DeleteTrace()
271 Status Tape::ComputeGradient( in ComputeGradient()
468 ForwardOperation* forward_op_, Tape* tape, in Execute()
Dgradients_test.cc78 auto tape = std::make_unique<Tape>(/*persistent=*/false); in IdentityNGradModel()
196 auto tape = std::make_unique<Tape>(/*persistent=*/false); in TEST_P()
210 Tape tape(/*persistent=*/false); in RecordOperationWithNullGradientFunctionModel()
Dgradients.h129 class Tape : protected eager::GradientTape<AbstractTensorHandle,
Dgradients_internal.h81 ForwardOperation*, Tape*, const GradientRegistry&);
/external/tensorflow/tensorflow/python/eager/
Dtape.py35 class Tape(object): class
50 return Tape(tape)
/external/tensorflow/tensorflow/c/experimental/gradients/
Dnn_grad_test.cc44 Tape tape(/*persistent=*/false); in ReluGradModel()
84 Tape tape(/*persistent=*/false); in SparseSoftmaxCrossEntropyWithLogitsGradModel()
114 Tape tape(/*persistent=*/false); in BiasAddGradModel()
Dcustom_gradient_test.cc71 Tape tape(/*persistent=*/false); in ExpWithPassThroughGrad()
Dgrad_test_helper.cc115 Tape tape(/*persistent=*/false); in BuildGradModel()
/external/libcups/locale/
Dcups.strings1566 // TRANSLATORS: Tape
1567 "binding-type.tape" = "Tape";
3386 // TRANSLATORS: Mounting Tape
3387 "media-type.mounting-tape" = "Mounting Tape";
Dcups_en.po5537 #. TRANSLATORS: Tape
5539 msgstr "Tape"
9383 #. TRANSLATORS: Mounting Tape
9385 msgstr "Mounting Tape"
Dcups_cs.po5257 #. TRANSLATORS: Tape
9081 #. TRANSLATORS: Mounting Tape
Dcups_fr.po5275 #. TRANSLATORS: Tape
9099 #. TRANSLATORS: Mounting Tape
Dcups_ru.po5417 #. TRANSLATORS: Tape
9253 #. TRANSLATORS: Mounting Tape
Dcups_zh_CN.po5389 #. TRANSLATORS: Tape
9221 #. TRANSLATORS: Mounting Tape
/external/one-true-awk/testdir/
Dfunstack.ok1731 Shimon Even Parallelism in Tape-Sorting . . . . . . 202--204

12