Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shenweichen/DeepCTR-Torch
/ set_model
Method
set_model
deepctr_torch/callbacks.py:14–15 ·
view source on GitHub ↗
(self, model)
Source
from the content-addressed store, hash-verified
12
self.params = {}
13
14
def
set_model(self, model):
15
self.model = model
16
17
def
set_params(self, params):
18
self.params = params or {}
Callers
5
test_callback_and_callback_list_flow
Function · 0.95
set_model
Method · 0.45
test_history_records_logs
Function · 0.45
test_early_stopping_paths
Function · 0.45
test_model_checkpoint_paths
Function · 0.45
Calls
no outgoing calls
Tested by
4
test_callback_and_callback_list_flow
Function · 0.76
test_history_records_logs
Function · 0.36
test_early_stopping_paths
Function · 0.36
test_model_checkpoint_paths
Function · 0.36