Home
last modified time | relevance | path

Searched refs:flatten_grad (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_flattengrad.cc35 auto flatten_grad = std::make_shared<FlattenGrad>(); in TEST_F() local
39 auto abstract = flatten_grad->Infer({tensor_x->ToAbstract(), in_shape->ToAbstract()}); in TEST_F()
/third_party/mindspore/tests/vm_impl/
Dvm_interface.py37 setattr(vm, 'flatten_grad', flatten_grad)
Dnn_ops_vm_impl.py267 dout = vm.flatten_grad(dout, x)
Dvm_me.py343 def flatten_grad(dout, x): function
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_array_ops.py215 flatten_grad = P.Reshape()
218 dx = flatten_grad(dout, shape_op(x))