Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mutable_tensor_shape (0.13 sec)

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

        auto etype = complex_type.getElementType();
        if (etype.isF32()) {
          tensorflow::TensorProto repr;
          repr.set_dtype(tensorflow::DT_COMPLEX64);
    
          tensorflow::TensorShapeProto* shape = repr.mutable_tensor_shape();
          shape->set_unknown_rank(false);
          shape->add_dim()->set_size(int64_t{1});
          std::string content;
          auto complex_value = std::complex<float>(static_cast<float>(value), 0.0f);
    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