Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for DEVICE_CPU (0.25 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

              input_flat.data()[i], lower_bound, bin_width, num_bins);
          histogram_flat.data()[bin_index] += 1;
        }
      }
    };
    
    REGISTER_KERNEL_BUILDER(Name("CustomAggregator").Device(DEVICE_CPU),
                            CustomAggregatorOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc

      }
    
     private:
      bool enabled_;
      std::unique_ptr<tsl::WritableFile> tensor_data_file_;
      std::unique_ptr<io::RecordWriter> tensor_data_writer_;
    };
    
    REGISTER_KERNEL_BUILDER(Name("DumpTensor").Device(DEVICE_CPU), DumpTensorOp);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 03:12:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      // CPU devices of the same job as the TPU_SYSTEM device.
      system_device.type = tensorflow::DEVICE_CPU;
      return DeviceNameUtils::ParsedNameToString(system_device);
    }
    
    // Find the host CPU device for a given TPU device with `DEVICE_CPU` as its
    // type. If multiple local cpu devices are disabled, always assign id 0. If
    // set, use the same id as the tpu device.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/summary_op.cc

      }
    }
    
    template <typename T>
    void RegisterScalarSummaryOpKernel() {
      TF_Status* status = TF_NewStatus();
      {
        auto* builder = TF_NewKernelBuilder(
            "ScalarSummary", tensorflow::DEVICE_CPU, &ScalarSummaryOp_Create,
            &ScalarSummaryOp_Compute<T>, &ScalarSummaryOp_Delete);
        TF_KernelBuilder_TypeConstraint(
            builder, "T",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/c/kernels/bitcast_op.cc

      }
      TF_DeleteStatus(status);
      TF_DeleteTensor(tensor);
    }
    
    void RegisterBitcastOpKernel() {
      TF_Status* status = TF_NewStatus();
      {
        auto* builder = TF_NewKernelBuilder("Bitcast", tensorflow::DEVICE_CPU,
                                            &BitcastOp_Create, &BitcastOp_Compute,
                                            &BitcastOp_Delete);
        TF_RegisterKernelBuilder("BitcastOp", builder, status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/c/kernels/histogram_summary_op.cc

    }
    
    template <typename T>
    void RegisterHistogramSummaryOpKernel() {
      TF_Status* status = TF_NewStatus();
      {
        auto* builder = TF_NewKernelBuilder(
            "HistogramSummary", tensorflow::DEVICE_CPU, &HistogramSummaryOp_Create,
            &HistogramSummaryOp_Compute<T>, &HistogramSummaryOp_Delete);
        TF_KernelBuilder_TypeConstraint(
            builder, "T",
    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. tensorflow/compiler/jit/get_compiler_ir.cc

               stage == IrExportStage::HLO_SERIALIZED;
      };
      // TODO(b/238830423): support GetCompilerIr on TFRT TPU device for stages
      // that requires compilation from HLO to executable.
      if (device_type != DEVICE_CPU && stream == nullptr &&
          !is_tfrt_tpu_supported_stage(stage)) {
        return absl::InternalError(
            "GetCompilerIr with requested stage is not supported on this device.");
      }
      return absl::OkStatus();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

          default:
            collector = std::make_unique<CalibrationStatisticsCollectorMinMax>();
        }
      }
    };
    
    REGISTER_KERNEL_BUILDER(Name("CalibrationStatisticsSaver").Device(DEVICE_CPU),
                            CalibrationStatisticsSaverOp);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_util.cc

      DeviceType* device_type = id_to_device_type_.back().get();
      TF_RETURN_IF_ERROR(DeviceNameToDeviceType(names_.back(), device_type));
    
      is_cpu_.push_back(device_type->type_string() == DEVICE_CPU);
      is_gpu_.push_back(device_type->type_string() == DEVICE_GPU);
    
      name_to_id_.emplace(string(name), DeviceId(new_id));
    
      const XlaOpRegistry::DeviceRegistration* compilation_device;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/partially_decluster_pass_test.cc

    };
    
    REGISTER_KERNEL_BUILDER(Name("FakeBinary")
                                .Device(DEVICE_CPU)
                                .HostMemory("host_in")
                                .HostMemory("host_out"),
                            FakeBinaryOp);
    
    REGISTER_KERNEL_BUILDER(
        Name("FakeResourceUpdate").Device(DEVICE_CPU).HostMemory("something_else"),
        FakeResourceUpdateOp);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 23K bytes
    - Viewed (0)
Back to top