Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/framework/
Dop_kernel_test.cc160 std::unique_ptr<OpKernel> op(CreateOpKernel( in ExpectSuccess()
177 CreateOpKernel(std::move(device_type), &device_, cpu_allocator(), in ExpectFailure()
328 CreateOpKernel(DEVICE_CPU, params.device, cpu_allocator(), in TEST_F()
353 CreateOpKernel(DEVICE_CPU, params.device, cpu_allocator(), in TEST_F()
381 CreateOpKernel(DEVICE_CPU, params.device, cpu_allocator(), in TEST_F()
437 std::unique_ptr<OpKernel> op(CreateOpKernel(device_type, &device,
471 std::unique_ptr<OpKernel> op(CreateOpKernel(device_type, &device, in ExpectFailure()
663 std::unique_ptr<OpKernel> op(CreateOpKernel( in TEST_F()
938 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_InputRangeHelper()
Dop_segment_test.cc67 auto created = CreateOpKernel(DEVICE_CPU, &device_, cpu_allocator(), in GetFn()
Dresource_op_kernel_test.cc99 std::unique_ptr<OpKernel> op(CreateOpKernel( in CreateOp()
Dop_kernel.cc1256 std::unique_ptr<OpKernel> CreateOpKernel( in CreateOpKernel() function
1260 *status = CreateOpKernel(std::move(device_type), device, allocator, nullptr, in CreateOpKernel()
1265 Status CreateOpKernel(DeviceType device_type, DeviceBase* device, in CreateOpKernel() function
Dop_kernel.h1314 std::unique_ptr<OpKernel> CreateOpKernel(DeviceType device_type,
1319 Status CreateOpKernel(DeviceType device_type, DeviceBase* device,
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_test_base.cc52 TF_RETURN_IF_ERROR(CreateOpKernel(node_def, tensor_slice_dataset_kernel)); in CreateTensorSliceDatasetKernel()
89 Status DatasetOpsTestBase::CreateOpKernel( in CreateOpKernel() function in tensorflow::data::DatasetOpsTestBase
92 TF_RETURN_IF_ERROR(tensorflow::CreateOpKernel(device_type_, device_.get(), in CreateOpKernel()
Ddataset_test_base.h64 Status CreateOpKernel(const NodeDef& node_def,
82 TF_RETURN_IF_ERROR(CreateOpKernel(node_def, range_op_kernel)); in CreateRangeDatasetOpKernel()
Dconcatenate_dataset_op_test.cc54 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateConcatenateDatasetKernel()
Dzip_dataset_op_test.cc64 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateZipDatasetKernel()
Dsparse_tensor_slice_dataset_op_test.cc45 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateSparseTensorSliceDatasetKernel()
Dtensor_dataset_op_test.cc51 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, tensor_dataset_kernel)); in CreateTensorDatasetKernel()
Dtensor_slice_dataset_op_test.cc52 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, tensor_dataset_kernel)); in CreateTensorSliceDatasetKernel()
/external/tensorflow/tensorflow/c/kernels/
Dbitcast_op_test.cc57 CreateOpKernel(DeviceType(DEVICE_CPU), nullptr, nullptr, def, 1, &status); in TestBitcastOp()
/external/tensorflow/tensorflow/core/kernels/
Dconstant_op_test.cc60 std::unique_ptr<OpKernel> op(CreateOpKernel(device_type, device.get(), in PersistentMemoryTrackingTest()
Drestore_op_test.cc88 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in TEST_F()
392 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in TEST_F()
Dsegment_reduction_ops_test.cc69 CreateOpKernel(DEVICE_CPU, device.get(), cpu_allocator(), in BM_SegmentReduction()
Dparse_tensor_test.cc50 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in ParseSerializedWithNodeDef()
Dops_testutil.h104 kernel_ = CreateOpKernel(device_type_, device_.get(), allocator(), in InitOpWithGraphVersion()
Dsparse_to_dense_op_test.cc246 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_SparseToDense()
Dnn_ops_test.cc760 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_LRNFloat()
841 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_AvgPool()
947 CreateOpKernel(DEVICE_CPU, nullptr, cpu_allocator(), in BM_AvgPoolBk()
1036 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_MaxPool()
1212 std::unique_ptr<OpKernel> op(CreateOpKernel(DEVICE_CPU, device.get(), in BM_ReluFloat()
Drestore_v2_op_test.cc100 CreateOpKernel(DEVICE_CPU, device.get(), cpu_allocator(), save, in RunTest()
Dcollective_nccl_reducer_test.cc45 std::unique_ptr<OpKernel> k = CreateOpKernel( in GetKernel()
Dcollective_ops.cc174 k = CreateOpKernel(c->device_type(), c->device(), in BuildOpKernel()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Devaluation_utils.cc93 CreateOpKernel("CPU", cpu_device, cpu_device->GetAllocator({}), node, in EvaluateNode()
/external/tensorflow/tensorflow/c/
Dkernels_test.cc82 return CreateOpKernel(DeviceType(device_name), nullptr, nullptr, def, 1, in GetFakeKernel()

12