Home
last modified time | relevance | path

Searched refs:MeasureInput (Results 1 – 25 of 50) sorted by relevance

12

/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/unittest/
H A Dtest_autotvm_record.py25 from tvm.autotvm.measure import MeasureInput, MeasureResult, MeasureErrorNo
34 inp = MeasureInput(target, task, task.config_space.get(0))
57 inputs = [MeasureInput(target, tsk, tsk.config_space.get(i)) for i in range(0, 10)]
60 invalid_inp = MeasureInput(target, tsk, tsk.config_space.get(10))
80 (MeasureInput(target, tsk, tsk.config_space.get(0)), MeasureResult((0.1,), 0, 2.3, 0)),
81 (MeasureInput(target, tsk, tsk.config_space.get(1)), MeasureResult((0.3,), 0, 2.3, 0)),
82 (MeasureInput(target, tsk, tsk.config_space.get(2)), MeasureResult((0.01,), 0, 2.3, 0)),
83 (MeasureInput(target, tsk, tsk.config_space.get(4)), MeasureResult((0.4,), 0, 2.3, 0)),
H A Dtest_autotvm_graph_tuner_core.py33 from tvm.autotvm.measure import MeasureResult, MeasureInput
126 ms_input = MeasureInput(target=target, task=task, config=config)
133 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
239 ms_input = MeasureInput(target=target, task=task, config=config)
300 ms_input = MeasureInput(target=target, task=task, config=config)
445 ms_input = MeasureInput(target=target, task=task, config=config)
452 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
557 ms_input = MeasureInput(target=target, task=task, config=config)
564 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
704 ms_input = MeasureInput(target=target, task=task, config=config)
[all …]
H A Dtest_autotvm_common.py25 from tvm.autotvm import MeasureInput, MeasureResult
104 inps.append(MeasureInput(target, tsk, tsk.config_space.get(i)))
H A Dtest_auto_scheduler_measure.py33 inp = auto_scheduler.measure.MeasureInput(task, s)
178 minp = auto_scheduler.MeasureInput(task, s0)
198 minp = auto_scheduler.MeasureInput(task, s0)
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/include/tvm/auto_scheduler/
H A Dmeasure.h52 class MeasureInput; variable
93 MeasureInput copy() const;
103 class MeasureInput : public ObjectRef {
110 MeasureInput(SearchTask task, State state);
112 TVM_DEFINE_OBJECT_REF_METHODS(MeasureInput, ObjectRef, MeasureInputNode);
290 virtual Array<MeasureResult> Run(const Array<MeasureInput>& inputs,
314 Array<BuildResult> Build(const Array<MeasureInput>& inputs, int verbose) final;
341 Array<MeasureResult> Run(const Array<MeasureInput>& inputs,
389 Array<MeasureResult> Run(const Array<MeasureInput>& inputs,
462 const Array<MeasureInput>& inputs, Array<MeasureResult>* results,
[all …]
H A Dmeasure_record.h43 void Callback(const SearchPolicy& policy, const Array<MeasureInput>& inputs,
88 std::pair<Array<MeasureInput>, Array<MeasureResult>> ReadLines(int max_size = -1,
120 void WriteMeasureRecords(std::ostream* os, const Array<MeasureInput>& inputs,
H A Dcost_model.h49 virtual void Update(const Array<MeasureInput>& inputs, const Array<MeasureResult>& results) = 0;
97 void Update(const Array<MeasureInput>& inputs, const Array<MeasureResult>& results) final;
132 void Update(const Array<MeasureInput>& inputs, const Array<MeasureResult>& results) final;
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/unittest/
H A Dtest_autotvm_record.py24 from tvm.autotvm.measure import MeasureInput, MeasureResult, MeasureErrorNo
32 inp = MeasureInput(target, task, task.config_space.get(0))
52 inputs = [MeasureInput(target, tsk, tsk.config_space.get(i)) for i in range(0, 10)]
68 (MeasureInput(target, tsk, tsk.config_space.get(0)), MeasureResult((0.1,), 0, 2.3, 0)),
69 (MeasureInput(target, tsk, tsk.config_space.get(1)), MeasureResult((0.3,), 0, 2.3, 0)),
70 (MeasureInput(target, tsk, tsk.config_space.get(2)), MeasureResult((0.01,), 0, 2.3, 0)),
71 (MeasureInput(target, tsk, tsk.config_space.get(4)), MeasureResult((0.4,), 0, 2.3, 0))
H A Dtest_graph_tuner_core.py32 from tvm.autotvm.measure import MeasureResult, MeasureInput
87 ms_input = MeasureInput(target=target, task=task, config=config)
97 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
191 ms_input = MeasureInput(target=target, task=task, config=config)
240 ms_input = MeasureInput(target=target, task=task, config=config)
343 ms_input = MeasureInput(target=target, task=task, config=config)
353 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
439 ms_input = MeasureInput(target=target, task=task, config=config)
449 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
554 ms_input = MeasureInput(target=target, task=task, config=config)
[all …]
H A Dtest_autotvm_common.py22 from tvm.autotvm import MeasureInput, MeasureResult
82 inps.append(MeasureInput(target, tsk, tsk.config_space.get(i)))
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/unittest/
H A Dtest_autotvm_record.py24 from tvm.autotvm.measure import MeasureInput, MeasureResult, MeasureErrorNo
32 inp = MeasureInput(target, task, task.config_space.get(0))
52 inputs = [MeasureInput(target, tsk, tsk.config_space.get(i)) for i in range(0, 10)]
68 (MeasureInput(target, tsk, tsk.config_space.get(0)), MeasureResult((0.1,), 0, 2.3, 0)),
69 (MeasureInput(target, tsk, tsk.config_space.get(1)), MeasureResult((0.3,), 0, 2.3, 0)),
70 (MeasureInput(target, tsk, tsk.config_space.get(2)), MeasureResult((0.01,), 0, 2.3, 0)),
71 (MeasureInput(target, tsk, tsk.config_space.get(4)), MeasureResult((0.4,), 0, 2.3, 0))
H A Dtest_graph_tuner_core.py32 from tvm.autotvm.measure import MeasureResult, MeasureInput
87 ms_input = MeasureInput(target=target, task=task, config=config)
97 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
191 ms_input = MeasureInput(target=target, task=task, config=config)
240 ms_input = MeasureInput(target=target, task=task, config=config)
343 ms_input = MeasureInput(target=target, task=task, config=config)
353 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
439 ms_input = MeasureInput(target=target, task=task, config=config)
449 ms_input = MeasureInput(target=target, task=ltf_task, config=None)
554 ms_input = MeasureInput(target=target, task=task, config=config)
[all …]
H A Dtest_autotvm_common.py22 from tvm.autotvm import MeasureInput, MeasureResult
82 inps.append(MeasureInput(target, tsk, tsk.config_space.get(i)))
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/auto_scheduler/
H A Dmeasure.cc58 MeasureInput::MeasureInput(SearchTask task, State state) { in MeasureInput() function in tvm::auto_scheduler::MeasureInput
65 MeasureInput MeasureInputNode::copy() const { in copy()
69 return MeasureInput(node); in copy()
113 Array<BuildResult> LocalBuilderNode::Build(const Array<MeasureInput>& inputs, int verbose) { in Build()
137 Array<MeasureResult> LocalRunnerNode::Run(const Array<MeasureInput>& inputs, in Run()
170 Array<MeasureResult> RPCRunnerNode::Run(const Array<MeasureInput>& inputs, in Run()
222 Array<MeasureInput> input_batch(inputs.begin() + i, in Measure()
273 void ProgramMeasurerNode::SilentMeasure(const SearchTask& task, const Array<MeasureInput>& inputs, in SilentMeasure()
331 return MeasureInput(task, state); in __anon2fe19b630402()
347 .set_body_typed([](const ProgramBuilder& builder, const Array<MeasureInput>& inputs,
[all …]
H A Dcost_model.cc42 void RandomModelNode::Update(const Array<MeasureInput>& inputs, in Update()
60 void PythonBasedModelNode::Update(const Array<MeasureInput>& inputs, in Update()
157 .set_body_typed([](CostModel model, Array<MeasureInput> inputs, Array<MeasureResult> results) { in __anon99bc9f3a0302()
H A Dmeasure_record.cc227 void WriteMeasureRecords(std::ostream* os, const Array<MeasureInput>& inputs, in WriteMeasureRecords()
260 void RecordToFileNode::Callback(const SearchPolicy& policy, const Array<MeasureInput>& inputs, in Callback()
290 std::pair<Array<MeasureInput>, Array<MeasureResult>> RecordReaderNode::ReadLines(int max_size, in ReadLines()
294 Array<MeasureInput> inputs; in ReadLines()
339 .set_body_typed([](String filename, Array<MeasureInput> in, Array<MeasureResult> res) { in __anone3e74ac10502()
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/auto_scheduler/search_policy/
H A Dempty_policy.cc61 Array<MeasureInput> inputs; in Search()
76 inputs.push_back(MeasureInput(search_task, state)); in Search()
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/autotvm/tuner/
H A Dtuner.py23 from ..measure import MeasureInput, create_measure_batch
124 inputs = [MeasureInput(self.task.target, self.task, config) for config in configs]
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/autotvm/tuner/
H A Dtuner.py23 from ..measure import MeasureInput, create_measure_batch
124 inputs = [MeasureInput(self.task.target, self.task, config) for config in configs]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/autotvm/tuner/
H A Dtuner.py23 from ..measure import MeasureInput, create_measure_batch
130 inputs = [MeasureInput(self.task.target, self.task, config) for config in configs]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/auto_scheduler/
H A Dfeature.py35 from .measure import MeasureInput, MeasureResult
179 inputs: List[MeasureInput], argument
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/autotvm/measure/
H A D__init__.py19 from .measure import MeasureInput, MeasureResult, MeasureErrorNo, measure_option, \
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/autotvm/measure/
H A D__init__.py20 MeasureInput,
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/autotvm/measure/
H A D__init__.py19 from .measure import MeasureInput, MeasureResult, MeasureErrorNo, measure_option, \
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/autotvm/
H A Drecord.py36 from .measure import MeasureInput, MeasureResult
153 inp = MeasureInput(tgt, tsk, config)
166 return MeasureInput(tgt, tsk, config), MeasureResult(*result)

12