athena.utils.hparam_test

Tests for hparam.

Module Contents

Classes

HParamsTest

class athena.utils.hparam_test.HParamsTest

Bases: tensorflow.test.TestCase

testEmpty()
testContains()
testSomeValues()
testWithPeriodInVariableName()
testSetFromMap()
testFunction()
testBoolParsing()
testBoolParsingFail()
testLists()
testParseValuesWithIndexAssigment1()

Assignment to an index position.

testParseValuesWithIndexAssigment1_IgnoreUnknown()

Assignment to an index position.

testParseValuesWithIndexAssigment2()

Assignment to multiple index positions.

testParseValuesWithIndexAssigment2_IgnoreUnknown()

Assignment to multiple index positions.

testParseValuesWithIndexAssigment3()

Assignment to index positions in multiple names.

testParseValuesWithIndexAssigment3_IgnoreUnknown()

Assignment to index positions in multiple names.

testParseValuesWithIndexAssigment4()

Assignment of index positions and scalars.

testParseValuesWithIndexAssigment4_IgnoreUnknown()

Assignment of index positions and scalars.

testParseValuesWithIndexAssigment5()

Different variable types.

testParseValuesWithIndexAssigment5_IgnoreUnknown()

Different variable types.

testParseValuesWithBadIndexAssigment1()

Reject assignment of list to variable type.

testParseValuesWithBadIndexAssigment1_IgnoreUnknown()

Reject assignment of list to variable type.

testParseValuesWithBadIndexAssigment2()

Reject if type missing.

testParseValuesWithBadIndexAssigment2_IgnoreUnknown()

Ignore missing type.

testParseValuesWithBadIndexAssigment3()

Reject type of the form name[index].

testParseValuesWithBadIndexAssigment3_IgnoreUnknown()

Ignore type of the form name[index].

testWithReusedVariables()
testJson()
testSetHParam()
testSetHParamListNonListMismatch()
testSetHParamTypeMismatch()
testGet()
testDel()
test_parse_dict()
test_append()