Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for DT_STRING (0.21 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          continue;
        }
    
        if (node->type_string() == "Const") {
          // Skip Const op with type DT_STRING, since XLA autoclustering doesn't
          // support it.
          const AttrValue* attr = node->attrs().Find("dtype");
          if (attr != nullptr && attr->type() == DT_STRING) {
            continue;
          }
        }
    
        if (!allowlist.empty() && !allowlist.contains(node->def().op())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

      const std::string& func_str =
          "    signature {"
          "      name: 'FunctionWith__OP_NAME__'"
          "      output_arg {"
          "        name: 'out'"
          "        type: DT_STRING"
          "      }"
          "    }"
          "    node_def {"
          "      name: 'error_op'"
          "      op: '__OP_NAME__'"
          "    }"
          "    ret {"
          "      key: 'out'"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        return std::nullopt;
      }
    
      // TensorFlow and TensorFlow Lite use different string encoding formats.
      // Convert to TensorFlow Lite format is it's a constant string tensor.
      if (tensor.dtype() == tensorflow::DT_STRING) {
        ::mlir::TFL::MiniDynamicBuffer dynamic_buffer;
        auto flat = tensor.flat<::tensorflow::tstring>();
        for (int i = 0; i < flat.size(); ++i) {
          const auto& str = flat(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      inputs.reserve(assets.size());
      for (const auto& asset : assets) {
        TensorInfo tensor_info;
        tensor_info.set_name(asset.tensor_name);
        tensor_info.set_dtype(DT_STRING);
        tensor_info.mutable_tensor_shape();
        inputs.push_back({asset.tensor_name, tensor_info});
      }
    
      std::unordered_map<std::string, std::string> tf_name_to_mlir_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top