Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for malformed (0.21 sec)

  1. tensorflow/c/c_api_experimental_test.cc

      tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);
      EXPECT_EQ(expected_text_proto, actual_text_proto);
    
      const string malformed_text_proto(R"(cluster {
      job {
        name: "worker")");
      TF_Buffer* null_result =
          TFE_GetServerDef(malformed_text_proto.c_str(), status);
      EXPECT_NE(TF_GetCode(status), TF_OK);
      EXPECT_TRUE(absl::StrContains(TF_Message(status),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.cc

        const auto tensor_interface =
            tensorflow::down_cast<const tensorflow::TensorInterface*>(src->tensor);
    
        if (dst->dims() != 0) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: expected a scalar, got a tensor with "
              "shape ",
              dst->shape().DebugString());
        }
        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///     existing file or one of the parent entries in `path` doesn't exist.
      ///   * Must set `status` to `TF_FAILED_PRECONDITION` if `path` points to a
      ///     directory or if it is invalid (e.g., malformed, or has a parent entry
      ///     which is a file).
      ///   * Might use any other error value for `status` to signal other errors.
      ///
      /// REQUIREMENTS: If plugins implement this, they must also provide a filled
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  4. RELEASE.md

    *   `tf.function`:
    
        *   `tf.function` now uses the Python inspect library directly for parsing the signature of the Python function it is decorated on. This change may break code where the function signature is malformed, but was ignored previously, such as:
            *   Using `functools.wraps` on a function with different signature
            *   Using `functools.partial` with an invalid `tf.function` input
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top