Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for op_kernel (0.15 sec)

  1. tensorflow/c/kernels/bitcast_op_test.cc

      std::unique_ptr<OpKernel> kernel =
          CreateOpKernel(DeviceType(DEVICE_CPU), nullptr, nullptr, def, 1, &status);
      ASSERT_TRUE(status.ok()) << status.ToString();
    
      OpKernelContext::Params params;
      DummyDevice dummy_device(nullptr);
      params.device = &dummy_device;
      params.op_kernel = kernel.get();
      gtl::InlinedVector<TensorValue, 4> inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/c/test_op1.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/op_kernel.h"
    
    namespace tensorflow {
    
    REGISTER_OP("TestCApi1").Doc(R"doc(Used to test C API)doc");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 06 02:40:19 UTC 2018
    - 875 bytes
    - Viewed (0)
  3. tensorflow/c/kernels/summary_op_test.cc

      std::unique_ptr<OpKernel> kernel =
          CreateOpKernel(DeviceType(DEVICE_CPU), nullptr, nullptr, def, 1, &status);
      ASSERT_TRUE(status.ok()) << status.ToString();
      OpKernelContext::Params params;
      DummyDevice dummy_device(nullptr);
      params.device = &dummy_device;
      params.op_kernel = kernel.get();
      AllocatorAttributes alloc_attrs;
      params.output_attr_array = &alloc_attrs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/c/test_op.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/op_kernel.h"
    
    namespace tensorflow {
    
    REGISTER_OP("TestCApi").Doc(R"doc(Used to test C API)doc");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 13 00:16:08 UTC 2016
    - 874 bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/tf_to_hlo_compiler.h

    #define TENSORFLOW_COMPILER_JIT_TF_TO_HLO_COMPILER_H_
    
    #include <memory>
    #include <vector>
    
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "tensorflow/core/framework/op_kernel.h"
    
    namespace tensorflow {
    
    class TfToHloCompiler {
     public:
      TfToHloCompiler() = default;
      virtual ~TfToHloCompiler() = default;
    
      // Compiles a Tensorflow `function` to an HloModuleProto stored in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/test_opkernels.cc

    ==============================================================================*/
    #include "tensorflow/core/framework/common_shape_fns.h"
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/op_kernel.h"
    
    namespace tensorflow {
    namespace tf_mlrt {
    
    REGISTER_OP("TestAsyncIdentity")
        .Input("in: T")
        .Output("out: T")
        .Attr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_kernel_creator.cc

    #include "tensorflow/core/framework/node_def_builder.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/framework/node_properties.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tsl/platform/errors.h"
    
    namespace tensorflow {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/pjrt_compile_util.cc

    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "xla/pjrt/pjrt_client.h"
    #include "tensorflow/core/framework/device_base.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/resource_mgr.h"
    #include "tensorflow/core/lib/core/refcount.h"
    #include "tensorflow/core/platform/status.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

        input_values.back().tensor = &tensor;
      }
    
      tensorflow::OpKernelContext::Params params;
      params.inputs = input_values;
      params.device = runner->device();
      params.op_kernel = runner->op_kernel();
    
      // Still use original device's resource_manager.
      params.resource_manager = runner->resource_manager();
      params.input_alloc_attrs = runner->input_alloc_attrs();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc

        .Attr("T: type")
        .Attr("enabled: bool")
        .Attr("func_name: string")
        .Attr("node_name: string")
        .SetIsStateful();
    
    class DumpTensorOp : public OpKernel {
     public:
      explicit DumpTensorOp(OpKernelConstruction* ctx) : OpKernel(ctx) {
        string log_dir_path;
        string file_name;
        string func_name;
        string node_name;
        OP_REQUIRES_OK(ctx, ctx->GetAttr("log_dir_path", &log_dir_path));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 03:12:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top