Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for XLATypeToCpp (0.1 sec)

  1. tensorflow/compiler/aot/codegen.cc

    bool IsAlpha(char c) {
      return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
    }
    
    bool IsAlphaNum(char c) { return IsAlpha(c) || (c >= '0' && c <= '9'); }
    
    // Convert an XLA type into a C++ type.
    Status XLATypeToCpp(xla::PrimitiveType type, string* str) {
      switch (type) {
        case xla::PRED:
          *str = "bool";
          break;
        case xla::S8:
          *str = "tensorflow::int8";
          break;
        case xla::S16:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top