Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 650 for _kernel (0.52 sec)

  1. tensorflow/compiler/jit/xla_device.h

      ~XlaDevice() override;
    
      Allocator* GetAllocator(AllocatorAttributes attr) override
          TF_LOCKS_EXCLUDED(mu_);
      void Compute(OpKernel* op_kernel, OpKernelContext* context) override;
      void ComputeAsync(AsyncOpKernel* op_kernel, OpKernelContext* context,
                        AsyncOpKernel::DoneCallback done) override;
      Status Sync() override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/bitcast_op.cc

        kernel->out_size = TF_DataTypeSize(kernel->output_data_type);
    
        size_t check_size = std::max(kernel->in_size, kernel->out_size) %
                            std::min(kernel->in_size, kernel->out_size);
        if (check_size != 0) {
          std::ostringstream err;
          err << "cannot convert between datatype " << kernel->input_data_type
              << " and " << kernel->output_data_type;
          TF_SetStatus(s, TF_INVALID_ARGUMENT, err.str().c_str());
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

          llvm::MemoryBuffer::getMemBuffer(mlir_input, "test_ir"), llvm::SMLoc());
    
      // Parse a kernel source code into the MLIR Module.
      mlir::OwningOpRef<mlir::ModuleOp> module(
          mlir::parseSourceFile<mlir::ModuleOp>(source_mgr, &context));
      CHECK(module) << "failed to parse mlir module";
    
      // Collect all diagnostics emitted while lowering parsed kernel module.
      std::string diagnostic_str;
      llvm::raw_string_ostream os(diagnostic_str);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_platform_info.h

      // XlaLaunch/_XlaCompile/_XlaRun op is placed and thus does not die before the
      // XlaLaunch/_XlaCompile/_XlaRun OpKernel.
      const XlaDevice::Metadata* xla_device_metadata_;
    
      // pjrt_device_metadata_ lives in tensorflow::PjRtBaseDevice in which the
      // XlaLaunch/XlaCompileOnDemand op is placed and thus does not die before the
      // op kernel.
      const PjRtBaseDevice::Metadata* pjrt_device_metadata_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/runtime/defs_linux.go

    /*
    Input to cgo -cdefs
    
    GOARCH=amd64 go tool cgo -cdefs defs_linux.go defs1_linux.go >defs_linux_amd64.h
    */
    
    package runtime
    
    /*
    // Linux glibc and Linux kernel define different and conflicting
    // definitions for struct sigaction, struct timespec, etc.
    // We want the kernel ones, which are in the asm/* headers.
    // But then we'd get conflicts when we include the system
    // headers for things like ucontext_t, so that happens in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 18:28:11 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/kernels/histogram_summary_op.cc

      return kernel;
    }
    
    void HistogramSummaryOp_Delete(void* kernel) {
      delete static_cast<HistogramSummaryOp*>(kernel);
    }
    
    template <typename T>
    void HistogramSummaryOp_Compute(void* kernel, TF_OpKernelContext* ctx) {
      HistogramSummaryOp* k = static_cast<HistogramSummaryOp*>(kernel);
      TF_Tensor* tags;
      TF_Tensor* values;
      Safe_TF_StatusPtr status(TF_NewStatus());
      TF_GetInput(ctx, 0, &tags, status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. cmd/server-rlimit.go

    import (
    	"runtime"
    	"runtime/debug"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3/kernel"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sys"
    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_arm64_hwcap.go

    	// check the AUXV for the CPUID bit. The getMIDR function executes an
    	// instruction which would normally be an illegal instruction, but it's
    	// trapped by the kernel, the value sanitized and then returned.
    	// Without the CPUID bit the kernel will not trap the instruction and the
    	// process will be terminated with SIGILL.
    	if ARM64.HasCPUID {
    		midr := getMIDR()
    		part_num := uint16((midr >> 4) & 0xfff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/merge_summary_op.cc

    using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, TFStatusDeleter>;
    
    // dummy functions used for kernel registration
    void* MergeSummaryOp_Create(TF_OpKernelConstruction* ctx) { return nullptr; }
    
    void MergeSummaryOp_Delete(void* kernel) {}
    
    void MergeSummaryOp_Compute(void* kernel, TF_OpKernelContext* ctx) {
      tensorflow::Summary s;
      std::unordered_set<tensorflow::string> tags;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_kernel_creator.h

      Status CreateKernel(FunctionLibraryRuntime* flr,
                          const std::shared_ptr<const NodeProperties>& props,
                          std::unique_ptr<OpKernel>* kernel) const override;
    };
    
    bool RegisterLaunchOpCreator();
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 26 19:43:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top