tensorflow/core/kernels/data/parallel_filter_dataset_op_test.cc
// the filter function returns a scalar int64 tensor.
the filter function returns a scalar int64 tensor.
the filter function returns a scalar int64 tensor .
ParallelFilterDatasetParams InvalidPredFuncFilterDatasetParams3() {
  auto tensor_slice_dataset_params = TensorSliceDatasetParams(
      {CreateTensor<int64_t>(TensorShape{9}, {0, 0, 0, 3, 4, 5, 6, 7, 8})},
      "tensor_slice_dataset");
  return ParallelFilterDatasetParams(
      std::move(tensor_slice_dataset_params),
      {},
      1,
      DeterminismPolicy::kDeterministic,
      FunctionDefHelper::FunctionRef("NonZero", {{"T", DT_INT64}}),
      {test::function::NonZero()},
      {},
      {DT_INT64},
      {PartialTensorShape({})},
      kNodeName);
}
ParallelFilterDatasetParams InvalidPredFuncFilterDatasetParams3 ( ) { auto tensor_slice_dataset_params = TensorSliceDatasetParams ( { CreateTensor < int64_t > ( TensorShape { 9 } , { 0 , 0 , 0 , 3 , 4 , 5 , 6 , 7 , 8 } ) } , " " ) ; return ParallelFilterDatasetParams ( std :: move ( tensor_slice_dataset_params ) , { } , 1 , DeterminismPolicy :: kDeterministic , FunctionDefHelper :: FunctionRef ( " " , { { " " , DT_INT64 } } ) , { test :: function :: NonZero ( ) } , { } , { DT_INT64 } , { PartialTensorShape ( { } ) } , kNodeName ) ; }
the filter function returns a scalar int64 tensor.
the filter function returns a scalar int64 tensor .
/*components=*/ /*node_name=*/ /*other_arguments=*/ /*num_parallel_calls=*/ /*deterministic=*/ /*pred_func=*/ /*func_lib=*/ /*type_arguments=*/ /*output_dtypes=*/ /*output_shapes=*/ /*node_name=*/