- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for QuantizeXlaFn (0.13 sec)
-
tensorflow/compiler/aot/quantize.h
namespace tensorflow { namespace tfcompile { using QuantizeXlaFn = std::function<Status(const tf2xla::Config& config, xla::XlaComputation* computation)>; // Set the static quantization function to the `fn` if it hasn't been set. // Return false if the static function has been set. bool RegisterQuantizeFn(const QuantizeXlaFn& fn); } // namespace tfcompile } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/aot/compile.cc
#include "tensorflow/core/platform/regexp.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace tfcompile { static llvm::ManagedStatic<QuantizeXlaFn> quantize_xla; bool RegisterQuantizeFn(const QuantizeXlaFn& fn) { if (*quantize_xla) return false; *quantize_xla = fn; return true; } namespace { // Compiles the XLA computation into executable code.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 08:28:57 UTC 2024 - 11.9K bytes - Viewed (0)