Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc

          });
    }
    
    // Arbitrarily calculate the size of const of type whose size is unkown or
    // varying. Each element of such a type is considered to have
    // `kAssumedNumBytesPerElem` bytes.
    int64_t GetSizeOfUnsupportedTypeConst(TF::ConstOp const_op) {
      return kAssumedNumBytesPerElem * const_op.getValue().getNumElements();
    }
    
    }  // namespace
    
    int64_t GetSizeInBytes(TF::ConstOp const_op) {
      const Type dtype = const_op.getDtype();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:37:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top