Home
last modified time | relevance | path

Searched refs:TapeContext (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/gradients/tape/
Dtape_context.cc22 TapeContext::TapeContext(AbstractContext* c, Tape* tape, in TapeContext() function in tensorflow::gradients::TapeContext
28 void TapeContext::Release() { in Release()
32 TapeContext::~TapeContext() { in ~TapeContext()
36 TapeOperation* TapeContext::CreateOperation() { in CreateOperation()
39 Status TapeContext::RegisterFunction(AbstractFunction* f) { in RegisterFunction()
42 Status TapeContext::RemoveFunction(const string& func) { in RemoveFunction()
Dtape_context.h23 class TapeContext : public AbstractContext {
25 explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&);
34 ~TapeContext() override;
/external/tensorflow/tensorflow/python/framework/experimental/
Dtape.cc68 py::class_<TapeContext, AbstractContext>(m, "TapeContext") in PYBIND11_MODULE()
71 return new TapeContext(ctx, tape, *registry); in PYBIND11_MODULE()
Dtape.py33 self._tape_context = _tape.TapeContext(
/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_testutil.cc53 AbstractContextPtr tape_ctx(new TapeContext(ctx, tape, registry)); in AddGradModel()
77 AbstractContextPtr tape_ctx(new TapeContext(ctx, tape, registry)); in MatMulGradModel()
176 AbstractContextPtr tape_ctx(new TapeContext(ctx, tape, registry)); in MNISTGradModel()
Dgradients_test.cc83 AbstractContextPtr tape_ctx(new TapeContext(ctx, tape.get(), registry)); in IdentityNGradModel()
/external/tensorflow/tensorflow/c/experimental/gradients/
Dnn_grad_test.cc47 AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, registry)); in ReluGradModel()
88 AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, registry)); in SparseSoftmaxCrossEntropyWithLogitsGradModel()
118 AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, registry)); in BiasAddGradModel()
Dgrad_test_helper.cc120 AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, grad_registry)); in BuildGradModel()