Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for set_tensor_content (0.18 sec)

  1. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

          auto complex_value = std::complex<float>(static_cast<float>(value), 0.0f);
          content.assign(reinterpret_cast<const char*>(&complex_value),
                         sizeof(complex_value));
          repr.set_tensor_content(content);
          std::string mangled = tensorflow::mangling_util::MangleTensor(repr);
    
          return mlir::TF::TensorProtoAttr::get(shaped_type, mangled);
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top