Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TUM-AAS/ml-casadi
/ functions
Functions
116 in github.com/TUM-AAS/ml-casadi
⨍
Functions
116
◇
Types & classes
31
↳
Endpoints
2
↓ 11 callers
Method
approx_params
(self, a, flat=False, order=1)
ml_casadi/common/module.py:60
↓ 10 callers
Method
sym_approx_params
(self, flat=False, order=1)
ml_casadi/common/module.py:50
↓ 9 callers
Method
approx
Approximation using first or second order Taylor Expansion
ml_casadi/common/module.py:105
↓ 6 callers
Function
aux_function
(func)
ml_casadi/torch/autograd/functorch.py:7
↓ 4 callers
Function
aux_function_jac
(func)
ml_casadi/torch/autograd/functorch.py:53
↓ 4 callers
Function
batched_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 callers
Method
acados_model
(self, model)
examples/mpc_mlp_cnn_example.py:192
↓ 2 callers
Method
acados_model
(self, model)
examples/mpc_mlp_naive_example.py:167
↓ 2 callers
Function
batched_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 callers
Function
is_casadi_type
(x)
ml_casadi/common/helper.py:4
↓ 1 callers
Method
__call__
(self, *args, **kwargs)
ml_casadi/common/module.py:37
↓ 1 callers
Method
__init__
(self)
tests/tests_torch/test_module_wrapper_functorch.py:13
↓ 1 callers
Method
__init__
(self)
tests/tests_torch/test_module_wrapper.py:11
↓ 1 callers
Method
__init__
(self)
examples/cnn_example.py:9
↓ 1 callers
Method
__init__
(self, *args, **kwargs)
examples/mpc_mlp_cnn_example.py:37
↓ 1 callers
Function
batched_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 callers
Function
batched_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 callers
Function
bjvp
(func)
ml_casadi/torch/autograd/sum.py:22
↓ 1 callers
Method
cs_forward
(self, *args, **kwargs)
ml_casadi/common/module.py:47
↓ 1 callers
Function
example
()
examples/cnn_example.py:29
↓ 1 callers
Function
example
()
examples/simple_example.py:16
↓ 1 callers
Method
get_approx_params_list
(self, a, order=1)
ml_casadi/common/module.py:72
↓ 1 callers
Method
get_sym_approx_params_list
(self, order)
ml_casadi/common/module.py:75
↓ 1 callers
Method
model
(self)
examples/mpc_mlp_cnn_example.py:50
↓ 1 callers
Method
model
(self)
examples/mpc_mlp_naive_example.py:27
↓ 1 callers
Method
ocp
(self)
examples/mpc_mlp_cnn_example.py:132
↓ 1 callers
Method
ocp
(self)
examples/mpc_mlp_naive_example.py:107
↓ 1 callers
Function
run
()
examples/mpc_mlp_cnn_example.py:203
↓ 1 callers
Function
run
()
examples/mpc_mlp_naive_example.py:178
↓ 1 callers
Method
sim
(self)
examples/mpc_mlp_cnn_example.py:98
↓ 1 callers
Method
sim
(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
Function
aux_function
(inputs)
ml_casadi/torch/autograd/sum.py:29
Method
batch_size
(self, request)
tests/tests_torch/test_autograd_functorch.py:14
Method
batch_size
(self, request)
tests/tests_torch/test_autograd.py:15
Function
batched_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
Function
cos
(x)
ml_casadi/torch/math/trig.py:12
Method
cs_forward
(self, x)
ml_casadi/torch/modules/nn/linear.py:8
Method
cs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:8
Method
cs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:14
Method
cs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:19
Method
cs_forward
(self, x)
ml_casadi/torch/modules/nn/activation.py:24
Method
cs_forward
(self, x)
tests/tests_torch/test_casadi_export.py:18
Method
dim
(self, request)
tests/tests_torch/test_autograd_functorch.py:20
Method
dim
(self, request)
tests/tests_torch/test_autograd.py:21
Method
explicit
(self, func_call)
ml_casadi/common/decorator.py:16
Method
forward
(self, *args, **kwargs)
ml_casadi/torch/modules/module.py:29
Method
forward
(self, x)
ml_casadi/torch/modules/nn/ml_perceptron.py:29
Method
forward
(self, x)
tests/tests_torch/test_module_wrapper_functorch.py:19
Method
forward
(self, x)
tests/tests_torch/test_module_wrapper_functorch.py:28
Method
forward
(self, x)
tests/tests_torch/test_module_wrapper.py:17
Method
forward
(self, x)
tests/tests_torch/test_module_wrapper.py:26
Method
forward
(self, x)
tests/tests_torch/test_casadi_export.py:15
Method
forward
(self, x)
examples/cnn_example.py:15
Method
forward
(self, x)
examples/cnn_example.py:24
Method
forward
(self, x)
examples/mpc_mlp_cnn_example.py:30
Method
forward
(self, x)
examples/simple_example.py:9
Function
func_sum_batch
(x: torch.Tensor)
ml_casadi/torch/autograd/sum.py:53
Method
get_approx_params_list
(self, a, order=1)
ml_casadi/torch/modules/module.py:8
Function
hcat
(args)
ml_casadi/torch/matrix/ops.py:17
Function
horzcat
(*args)
ml_casadi/torch/matrix/ops.py:22
Function
inner_aux
(inputs)
ml_casadi/torch/autograd/functorch.py:8
Method
input
(self, batch_size, dim)
tests/tests_torch/test_autograd_functorch.py:24
Method
input
(self)
tests/tests_torch/test_module_wrapper_functorch.py:39
Method
input
(self, batch_size, dim)
tests/tests_torch/test_autograd.py:25
Method
input
(self)
tests/tests_torch/test_module_wrapper.py:37
Method
input
(self)
tests/tests_torch/test_casadi_export.py:28
Method
input_size
(self)
ml_casadi/common/module.py:15
Function
is_symbolic_casadi_type
(x)
ml_casadi/common/helper.py:13
Function
jacobian_func
(x: torch.Tensor)
ml_casadi/torch/autograd/sum.py:86
Method
model
(self)
tests/tests_torch/test_autograd_functorch.py:8
Method
model
(self)
tests/tests_torch/test_module_wrapper_functorch.py:35
Method
model
(self)
tests/tests_torch/test_autograd.py:9
Method
model
(self)
tests/tests_torch/test_module_wrapper.py:33
Method
model
(self)
tests/tests_torch/test_casadi_export.py:24
Method
output_size
(self)
ml_casadi/common/module.py:26
Method
second_order_oi_term
(x_minus_a, f_ddf_a)
ml_casadi/common/module.py:121
Method
simulator
(self)
examples/mpc_mlp_cnn_example.py:91
Method
simulator
(self)
examples/mpc_mlp_naive_example.py:66
Function
sin
(x)
ml_casadi/torch/math/trig.py:7
Method
solver
(self)
examples/mpc_mlp_cnn_example.py:95
Method
solver
(self)
examples/mpc_mlp_naive_example.py:70
Function
tan
(x)
ml_casadi/torch/math/trig.py:17
Method
tensors
(self, request)
tests/tests_torch/test_matrix_ops.py:13
next →
1–100 of 116, ranked by callers