Functions | Variables
test_sparse_costs Namespace Reference

Functions

def check_derivative_1d (f, df, arg)
 
def num_diff_1d (method, x, arg)
 
def test_huber ()
 
def test_smooth_l1 ()
 

Variables

int NUM_TESTS = 1000
 

Function Documentation

◆ check_derivative_1d()

def test_sparse_costs.check_derivative_1d (   f,
  df,
  arg 
)

Definition at line 16 of file test_sparse_costs.py.

◆ num_diff_1d()

def test_sparse_costs.num_diff_1d (   method,
  x,
  arg 
)

Definition at line 8 of file test_sparse_costs.py.

◆ test_huber()

def test_sparse_costs.test_huber ( )

Definition at line 25 of file test_sparse_costs.py.

◆ test_smooth_l1()

def test_sparse_costs.test_smooth_l1 ( )

Definition at line 33 of file test_sparse_costs.py.

Variable Documentation

◆ NUM_TESTS

int test_sparse_costs.NUM_TESTS = 1000

Definition at line 5 of file test_sparse_costs.py.



exotica_python
Author(s):
autogenerated on Mon Feb 28 2022 22:25:09