Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for XlaMergeOp (0.82 sec)

  1. tensorflow/compiler/jit/kernels/xla_ops.h

     public:
      explicit XlaRunOp(OpKernelConstruction* ctx);
    
      void Compute(OpKernelContext* ctx) override;
    
     private:
      const XlaPlatformInfo platform_info_;
    };
    
    class XlaMergeOp : public OpKernel {
     public:
      explicit XlaMergeOp(OpKernelConstruction* ctx);
    
      void Compute(OpKernelContext* ctx) override;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 23:44:26 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/kernels/xla_ops.cc

              /*missing_ctx_input_prefix=*/closure.num_constant_args(),
              absl::MakeSpan(*variable_infos), input_output_alias, snapshot_ptrs));
    }
    
    XlaMergeOp::XlaMergeOp(OpKernelConstruction* ctx) : OpKernel(ctx) {}
    
    void XlaMergeOp::Compute(OpKernelContext* ctx) {
      VLOG(3) << "XlaMergeOp " << def().name();
      int i = 0;
      if (ctx->has_input(i) || ctx->has_input(++i)) {
        ctx->set_output(0, ctx->input(i));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top