Home
last modified time | relevance | path

Searched refs:CreateOpKernel (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/core/framework/
Dop_kernel_test.cc168 std::unique_ptr<OpKernel> op(CreateOpKernel( in ExpectSuccess()
185 CreateOpKernel(std::move(device_type), &device_, cpu_allocator(), in ExpectFailure()
364 CreateOpKernel(DEVICE_CPU, params.device, cpu_allocator(), in TEST_F()
448 std::unique_ptr<OpKernel> op(CreateOpKernel( in TEST_F()
512 std::unique_ptr<OpKernel> op(CreateOpKernel(device_type, &device,
546 std::unique_ptr<OpKernel> op(CreateOpKernel(device_type, &device, in ExpectFailure()
736 std::unique_ptr<OpKernel> op(CreateOpKernel( in TEST_F()
1011 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_InputRangeHelper()
1086 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_TraceString()
Dop_kernel.cc1576 std::unique_ptr<OpKernel> CreateOpKernel( in CreateOpKernel() function
1588 return CreateOpKernel(device_type, device, allocator, props, in CreateOpKernel()
1592 std::unique_ptr<OpKernel> CreateOpKernel( in CreateOpKernel() function
1597 *status = CreateOpKernel(std::move(device_type), device, allocator, in CreateOpKernel()
1602 Status CreateOpKernel(DeviceType device_type, DeviceBase* device, in CreateOpKernel() function
1606 return CreateOpKernel(std::move(device_type), device, allocator, flib, in CreateOpKernel()
1611 Status CreateOpKernel(DeviceType device_type, DeviceBase* device, in CreateOpKernel() function
Dop_segment_test.cc67 auto created = CreateOpKernel(DEVICE_CPU, &device_, cpu_allocator(), in GetFn()
Dresource_op_kernel_test.cc100 std::unique_ptr<OpKernel> op(CreateOpKernel( in CreateOp()
Dop_kernel.h1375 std::unique_ptr<OpKernel> CreateOpKernel(DeviceType device_type,
1381 std::unique_ptr<OpKernel> CreateOpKernel(
1386 Status CreateOpKernel(DeviceType device_type, DeviceBase* device,
1391 Status CreateOpKernel(DeviceType device_type, DeviceBase* device,
/external/tensorflow/tensorflow/core/grappler/optimizers/
Devaluation_utils.cc72 CreateOpKernel("CPU", cpu_device, cpu_device->GetAllocator({}), node, in EvaluateNode()
/external/tensorflow/tensorflow/core/kernels/
Dconstant_op_test.cc64 std::unique_ptr<OpKernel> op(CreateOpKernel(device_type, device.get(), in PersistentMemoryTrackingTest()
Drestore_op_test.cc91 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in TEST_F()
395 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in TEST_F()
Dsegment_reduction_ops_test.cc68 CreateOpKernel(DEVICE_CPU, device.get(), cpu_allocator(), in BM_SegmentReduction()
Dparse_tensor_test.cc53 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in ParseSerializedWithNodeDef()
Dnn_ops_test.cc786 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_LRNFloat()
866 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_AvgPool()
970 CreateOpKernel(DEVICE_CPU, nullptr, cpu_allocator(), in BM_AvgPoolBk()
1060 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_MaxPool()
1235 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_ReluFloat()
1307 CreateOpKernel(DEVICE_CPU, device.get(), cpu_allocator(), in BM_SoftplusFloat()
Dsparse_to_dense_op_test.cc244 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_SparseToDense()
Dops_testutil.cc146 TF_RETURN_IF_ERROR(CreateOpKernel( in InitOpWithGraphVersion()
Drestore_v2_op_test.cc103 CreateOpKernel(DEVICE_CPU, device.get(), cpu_allocator(), save, in RunTest()
Dcollective_nccl_test.cc54 std::unique_ptr<OpKernel> k = CreateOpKernel( in GetKernel()
/external/tensorflow/tensorflow/c/kernels/
Dbitcast_op_test.cc56 CreateOpKernel(DeviceType(DEVICE_CPU), nullptr, nullptr, def, 1, &status); in TestBitcastOp()
Dsummary_op_test.cc71 CreateOpKernel(DeviceType(DEVICE_CPU), nullptr, nullptr, def, 1, &status); in TestScalarSummaryOp()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op_test.cc144 status.Update(CreateOpKernel(device_type_, device_, allocator(), flr, in InitOpWithFunctionLibrary()
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op_test.cc102 TF_RETURN_IF_ERROR(CreateOpKernel(node_def, map_defun_kernel)); in CreateMapDefunOpKernel()
Ddataset_test_base.cc303 Status DatasetOpsTestBase::CreateOpKernel( in CreateOpKernel() function in tensorflow::data::DatasetOpsTestBase
311 TF_RETURN_IF_ERROR(tensorflow::CreateOpKernel( in CreateOpKernel()
906 TF_RETURN_IF_ERROR(CreateOpKernel(node_def, dataset_kernel)); in MakeDatasetOpKernel()
Ddataset_test_base.h656 Status CreateOpKernel(const NodeDef& node_def,
/external/tensorflow/tensorflow/c/
Dkernels_test.cc118 return CreateOpKernel(DeviceType(device_name), nullptr, nullptr, def, 1, in GetFakeKernel()
206 return CreateOpKernel(DeviceType("FakeDevice"), nullptr, nullptr, def, 1, in GetFakeKernelWithAttr()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_event_mgr_test.cc244 return CreateOpKernel("GPU", gpu_helper_->gpu(), in GetOpKernel()
/external/tensorflow/tensorflow/core/common_runtime/
Dring_gatherer_test.cc105 std::unique_ptr<OpKernel> k = CreateOpKernel( in GetKernel()
Dring_reducer_test.cc106 std::unique_ptr<OpKernel> k = CreateOpKernel( in GetKernel()

12