Type dnn_testing_utils_v1
Namespace tensorflow_estimator.python.estimator.canned.v1.dnn_testing_utils_v1
Methods
- assert_close
- assert_close
- assert_close_dyn
- create_checkpoint
- create_checkpoint
- create_checkpoint_dyn
- mock_head
- mock_head_dyn
- mock_optimizer
- mock_optimizer
- mock_optimizer
- mock_optimizer_dyn
Properties
- _SummaryHook_fn
- assert_close_fn
- BaseDNNClassifierEvaluateTest_fn
- BaseDNNClassifierPredictTest_fn
- BaseDNNClassifierTrainTest_fn
- BaseDNNLogitFnTest_fn
- BaseDNNModelFnTest_fn
- BaseDNNRegressorEvaluateTest_fn
- BaseDNNRegressorPredictTest_fn
- BaseDNNRegressorTrainTest_fn
- BaseDNNWarmStartingTest_fn
- create_checkpoint_fn
- mock_head_fn
- mock_optimizer_fn
Fields
Public static methods
object assert_close(IEnumerable<object> expected, object actual, double rtol, string message, string name)
object assert_close(IGraphNodeBase expected, object actual, double rtol, string message, string name)
object assert_close_dyn(object expected, object actual, ImplicitContainer<T> rtol, ImplicitContainer<T> message, ImplicitContainer<T> name)
void create_checkpoint(ValueTuple<object, object, object> weights_and_biases, int global_step, Byte[] model_dir, Nullable<ValueTuple<IEnumerable<object>>> batch_norm_vars)
void create_checkpoint(ValueTuple<object, object, object> weights_and_biases, int global_step, string model_dir, Nullable<ValueTuple<IEnumerable<object>>> batch_norm_vars)
object create_checkpoint_dyn(object weights_and_biases, object global_step, object model_dir, object batch_norm_vars)
object mock_head(BaseDNNModelFnTest testcase, ValueTuple<int, object> hidden_units, int logits_dimension, IEnumerable<object> expected_logits)
object mock_head_dyn(object testcase, object hidden_units, object logits_dimension, object expected_logits)
object mock_optimizer(BaseDNNClassifierTrainTest testcase, ValueTuple<int, object> hidden_units, Nullable<double> expected_loss)
object mock_optimizer(BaseDNNModelFnTest testcase, ValueTuple<int, object> hidden_units, Nullable<double> expected_loss)
object mock_optimizer(BaseDNNRegressorTrainTest testcase, ValueTuple<int, object> hidden_units, Nullable<double> expected_loss)
object mock_optimizer_dyn(object testcase, object hidden_units, object expected_loss)
Public properties
PythonFunctionContainer _SummaryHook_fn get;
PythonFunctionContainer assert_close_fn get;
PythonFunctionContainer BaseDNNClassifierEvaluateTest_fn get;
PythonFunctionContainer BaseDNNClassifierPredictTest_fn get;
PythonFunctionContainer BaseDNNClassifierTrainTest_fn get;
PythonFunctionContainer BaseDNNLogitFnTest_fn get;
PythonFunctionContainer BaseDNNModelFnTest_fn get;
PythonFunctionContainer BaseDNNRegressorEvaluateTest_fn get;
PythonFunctionContainer BaseDNNRegressorPredictTest_fn get;
PythonFunctionContainer BaseDNNRegressorTrainTest_fn get;
PythonFunctionContainer BaseDNNWarmStartingTest_fn get;
PythonFunctionContainer create_checkpoint_fn get;
PythonFunctionContainer mock_head_fn get;
PythonFunctionContainer mock_optimizer_fn get;
Public fields
string HIDDEN_BIASES_NAME_PATTERN
return string
|
string LEARNING_RATE_NAME
return string
|
string LOGITS_BIASES_NAME
return string
|
string BATCH_NORM_GAMMA_NAME_PATTERN
return string
|
string CITY_EMBEDDING_NAME
return string
|
string BATCH_NORM_VARIANCE_NAME_PATTERN
return string
|
string BATCH_NORM_MEAN_NAME_PATTERN
return string
|
string BATCH_NORM_BETA_NAME_PATTERN
return string
|
string OCCUPATION_EMBEDDING_NAME
return string
|
string HIDDEN_WEIGHTS_NAME_PATTERN
return string
|
string LOGITS_WEIGHTS_NAME
return string
|