MCPcopy Create free account

hub / github.com/TUM-AAS/ml-casadi / functions

Functions116 in github.com/TUM-AAS/ml-casadi

↓ 11 callersMethodapprox_params
(self, a, flat=False, order=1)
ml_casadi/common/module.py:60
↓ 10 callersMethodsym_approx_params
(self, flat=False, order=1)
ml_casadi/common/module.py:50
↓ 9 callersMethodapprox
Approximation using first or second order Taylor Expansion
ml_casadi/common/module.py:105
↓ 6 callersFunctionaux_function
(func)
ml_casadi/torch/autograd/functorch.py:7
↓ 4 callersFunctionaux_function_jac
(func)
ml_casadi/torch/autograd/functorch.py:53
↓ 4 callersFunctionbatched_jacobian
r"""Function that computes batches of the Jacobian of a given function and a batch of inputs. Args: func: a Python function that takes Te
ml_casadi/torch/autograd/sum.py:37
↓ 2 callersMethodacados_model
(self, model)
examples/mpc_mlp_cnn_example.py:192
↓ 2 callersMethodacados_model
(self, model)
examples/mpc_mlp_naive_example.py:167
↓ 2 callersFunctionbatched_hessian
r""" Args: func: a Python function that takes Tensor inputs and returns a tuple of Tensors or a Tensor. inputs: inputs to the fun
ml_casadi/torch/autograd/sum.py:70
↓ 2 callersFunctionis_casadi_type
(x)
ml_casadi/common/helper.py:4
↓ 1 callersMethod__call__
(self, *args, **kwargs)
ml_casadi/common/module.py:37
↓ 1 callersMethod__init__
(self)
tests/tests_torch/test_module_wrapper_functorch.py:13
↓ 1 callersMethod__init__
(self)
tests/tests_torch/test_module_wrapper.py:11
↓ 1 callersMethod__init__
(self)
examples/cnn_example.py:9
↓ 1 callersMethod__init__
(self, *args, **kwargs)
examples/mpc_mlp_cnn_example.py:37
↓ 1 callersFunctionbatched_hessian
r""" Args: func: a Python function that takes Tensor inputs and returns a tuple of Tensors or a Tensor. inputs: inputs to the fun
ml_casadi/torch/autograd/functorch.py:39
↓ 1 callersFunctionbatched_jacobian
r"""Function that computes batches of the Jacobian of a given function and a batch of inputs. Args: func: a Python function that takes Te
ml_casadi/torch/autograd/functorch.py:15
↓ 1 callersFunctionbjvp
(func)
ml_casadi/torch/autograd/sum.py:22
↓ 1 callersMethodcs_forward
(self, *args, **kwargs)
ml_casadi/common/module.py:47
↓ 1 callersFunctionexample
()
examples/cnn_example.py:29
↓ 1 callersFunctionexample
()
examples/simple_example.py:16
↓ 1 callersMethodget_approx_params_list
(self, a, order=1)
ml_casadi/common/module.py:72
↓ 1 callersMethodget_sym_approx_params_list
(self, order)
ml_casadi/common/module.py:75
↓ 1 callersMethodmodel
(self)
examples/mpc_mlp_cnn_example.py:50
↓ 1 callersMethodmodel
(self)
examples/mpc_mlp_naive_example.py:27
↓ 1 callersMethodocp
(self)
examples/mpc_mlp_cnn_example.py:132
↓ 1 callersMethodocp
(self)
examples/mpc_mlp_naive_example.py:107
↓ 1 callersFunctionrun
()
examples/mpc_mlp_cnn_example.py:203
↓ 1 callersFunctionrun
()
examples/mpc_mlp_naive_example.py:178
↓ 1 callersMethodsim
(self)
examples/mpc_mlp_cnn_example.py:98
↓ 1 callersMethodsim
(self)
examples/mpc_mlp_naive_example.py:73
Method__call__
(self, *args, **kwargs)
ml_casadi/common/decorator.py:19
Method__get__
(self, obj, objtype=None)
ml_casadi/common/decorator.py:13
Method__init__
(self, model: torch.nn.Module, input_size: int, output_size: int)
ml_casadi/torch/modules/module.py:23
Method__init__
(self, input_size, hidden_size, output_size, n_hidden, activation=None)
ml_casadi/torch/modules/nn/ml_perceptron.py:8
Method__init__
(self, func_call)
ml_casadi/common/decorator.py:9
Method__init__
(self)
tests/tests_torch/test_module_wrapper_functorch.py:24
Method__init__
(self)
tests/tests_torch/test_module_wrapper.py:22
Method__init__
(self)
tests/tests_torch/test_casadi_export.py:10
Method__init__
(self)
examples/cnn_example.py:20
Method__init__
(self)
examples/mpc_mlp_cnn_example.py:20
Method__init__
(self, learned_dyn)
examples/mpc_mlp_cnn_example.py:47
Method__init__
(self, model, N)
examples/mpc_mlp_cnn_example.py:86
Method__init__
(self, *args, **kwargs)
examples/mpc_mlp_naive_example.py:14
Method__init__
(self, learned_dyn)
examples/mpc_mlp_naive_example.py:24
Method__init__
(self, model, N)
examples/mpc_mlp_naive_example.py:61
Method_casadi_call_
(self, *args, **kwargs)
ml_casadi/common/module.py:41
Method_sym_approx_params
(self)
ml_casadi/common/module.py:9
Functionaux_function
(inputs)
ml_casadi/torch/autograd/sum.py:29
Methodbatch_size
(self, request)
tests/tests_torch/test_autograd_functorch.py:14
Methodbatch_size
(self, request)
tests/tests_torch/test_autograd.py:15
Functionbatched_jacobian2
r"""Function that computes batches of the Jacobian of a given function and a batch of inputs. Args: func: a Python function that takes Te
ml_casadi/torch/autograd/sum.py:8
Functioncos
(x)
ml_casadi/torch/math/trig.py:12
Methodcs_forward
(self, x)
ml_casadi/torch/modules/nn/linear.py:8
Methodcs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:8
Methodcs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:14
Methodcs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:19
Methodcs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:24
Methodcs_forward
(self, x)
tests/tests_torch/test_casadi_export.py:18
Methoddim
(self, request)
tests/tests_torch/test_autograd_functorch.py:20
Methoddim
(self, request)
tests/tests_torch/test_autograd.py:21
Methodexplicit
(self, func_call)
ml_casadi/common/decorator.py:16
Methodforward
(self, *args, **kwargs)
ml_casadi/torch/modules/module.py:29
Methodforward
(self, x)
ml_casadi/torch/modules/nn/ml_perceptron.py:29
Methodforward
(self, x)
tests/tests_torch/test_module_wrapper_functorch.py:19
Methodforward
(self, x)
tests/tests_torch/test_module_wrapper_functorch.py:28
Methodforward
(self, x)
tests/tests_torch/test_module_wrapper.py:17
Methodforward
(self, x)
tests/tests_torch/test_module_wrapper.py:26
Methodforward
(self, x)
tests/tests_torch/test_casadi_export.py:15
Methodforward
(self, x)
examples/cnn_example.py:15
Methodforward
(self, x)
examples/cnn_example.py:24
Methodforward
(self, x)
examples/mpc_mlp_cnn_example.py:30
Methodforward
(self, x)
examples/simple_example.py:9
Functionfunc_sum_batch
(x: torch.Tensor)
ml_casadi/torch/autograd/sum.py:53
Methodget_approx_params_list
(self, a, order=1)
ml_casadi/torch/modules/module.py:8
Functionhcat
(args)
ml_casadi/torch/matrix/ops.py:17
Functionhorzcat
(*args)
ml_casadi/torch/matrix/ops.py:22
Functioninner_aux
(inputs)
ml_casadi/torch/autograd/functorch.py:8
Methodinput
(self, batch_size, dim)
tests/tests_torch/test_autograd_functorch.py:24
Methodinput
(self)
tests/tests_torch/test_module_wrapper_functorch.py:39
Methodinput
(self, batch_size, dim)
tests/tests_torch/test_autograd.py:25
Methodinput
(self)
tests/tests_torch/test_module_wrapper.py:37
Methodinput
(self)
tests/tests_torch/test_casadi_export.py:28
Methodinput_size
(self)
ml_casadi/common/module.py:15
Functionis_symbolic_casadi_type
(x)
ml_casadi/common/helper.py:13
Functionjacobian_func
(x: torch.Tensor)
ml_casadi/torch/autograd/sum.py:86
Methodmodel
(self)
tests/tests_torch/test_autograd_functorch.py:8
Methodmodel
(self)
tests/tests_torch/test_module_wrapper_functorch.py:35
Methodmodel
(self)
tests/tests_torch/test_autograd.py:9
Methodmodel
(self)
tests/tests_torch/test_module_wrapper.py:33
Methodmodel
(self)
tests/tests_torch/test_casadi_export.py:24
Methodoutput_size
(self)
ml_casadi/common/module.py:26
Methodsecond_order_oi_term
(x_minus_a, f_ddf_a)
ml_casadi/common/module.py:121
Methodsimulator
(self)
examples/mpc_mlp_cnn_example.py:91
Methodsimulator
(self)
examples/mpc_mlp_naive_example.py:66
Functionsin
(x)
ml_casadi/torch/math/trig.py:7
Methodsolver
(self)
examples/mpc_mlp_cnn_example.py:95
Methodsolver
(self)
examples/mpc_mlp_naive_example.py:70
Functiontan
(x)
ml_casadi/torch/math/trig.py:17
Methodtensors
(self, request)
tests/tests_torch/test_matrix_ops.py:13
next →1–100 of 116, ranked by callers