Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unknown (0.19 sec)

  1. tensorflow/c/c_api_test.cc

    }
    
    TEST(CAPI, StatusEnum) {
      EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK));
      EXPECT_EQ(TF_CANCELLED, static_cast<TF_Code>(tensorflow::error::CANCELLED));
      EXPECT_EQ(TF_UNKNOWN, static_cast<TF_Code>(tensorflow::error::UNKNOWN));
      EXPECT_EQ(TF_INVALID_ARGUMENT,
                static_cast<TF_Code>(absl::StatusCode::kInvalidArgument));
      EXPECT_EQ(TF_DEADLINE_EXCEEDED,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/eager/unified_api_test.cc

        ASSERT_EQ(errors::OK, s.code()) << s.message();
        x.reset(x_raw);
      }
    
      PartialTensorShape shape;
      Status s = x->Shape(&shape);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      ASSERT_TRUE(shape.unknown_rank());
    }
    
    TEST_P(UnifiedAPI, TestPartialShapeTracing) {
      if (!UseFunction()) {
        GTEST_SKIP() << "Tracing only test.";
      }
      if (UseMlir()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

        case "$TF_WHEEL" in
            # CPU:
            *cpu*manylinux*) LARGEST_OK_SIZE=220 ;;
            # GPU:
            *manylinux*)     LARGEST_OK_SIZE=580 ;;
            # Unknown:
            *)
                echo "The wheel's name is in an unknown format."
                exit 1
                ;;
        esac
        # >&3 forces output in bats even if the test passes. See
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.cc

                                       " dimensions which is over the limit of ",
                                       TensorShape::MaxDimensions(), ".");
      }
      TensorShapeProto proto;
      if (num_dims < 0) {
        proto.set_unknown_rank(true);
      } else {
        for (int d = 0; d < num_dims; ++d) {
          proto.add_dim()->set_size(dims[d]);
        }
      }
    
      forward_op_->attrs.Set(attr_name, proto);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

                                                                        &device)) {
        methods.deallocator(data);
        status->status =
            tensorflow::errors::InvalidArgument(device_name, " unknown device.");
        return nullptr;
      }
      return tensorflow::wrap(new tensorflow::CAPICustomDeviceTensorHandle(
          context, device, *reinterpret_cast<tensorflow::DataType*>(&dtype), data,
          methods));
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  6. tensorflow/c/c_api.cc

        return;
      }
    
      if (num_dims == 0) {
        // Output shape is a scalar.
        return;
      }
    
      // Rank is greater than 0, so fill in the values, if known, and
      // -1 for unknown values.
      for (int i = 0; i < num_dims; ++i) {
        auto dim = ic->Dim(shape, i);
        int64_t value = -1;
        if (ic->ValueKnown(dim)) {
          value = ic->Value(dim);
        }
        dims[i] = value;
    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)
  7. ci/official/bisect.sh

    # Run any CI script and env configuration to bisect a failing target in some
    # build configuration. You must set the following variables to control this
    # script:
    #
    #   TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job)
    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    #   TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g.
    #     ci/official/wheel.sh
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        TF_RETURN_IF_ERROR(
            operation->SetOpName(absl::StrCat("_input_", inputs_.size()).c_str()));
        TF_RETURN_IF_ERROR(operation->SetAttrType("dtype", dtype));
        if (!shape.unknown_rank()) {
          TF_RETURN_IF_ERROR(operation->SetAttrShape(
              "shape", reinterpret_cast<int64_t*>(shape.dim_sizes().data()),
              shape.dims()));
        }
        int num_outputs = 1;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  9. RELEASE.md

        *   `LinearOperator.matmul` now returns a new `LinearOperator`.
    *   New ops and improved op functionality
        *   Add a Nearest Neighbor Resize op.
        *   Add an `ignore_unknown` argument to `parse_values` which suppresses
            ValueError for unknown hyperparameter types. Such * Add
            `tf.linalg.matvec` convenience function.
        *   `tf.einsum()`raises `ValueError` for unsupported equations like
            `"ii->"`.
    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)
  10. ci/official/README.md

    #
    #    - New environments like new CUDA versions, changes to manylinux,
    #      compilers, etc. can cause undefined behavior such as build failures
    #      or tests passing incorrectly.
    #    - Automatic LLVM updates are known to extend build time even with
    #      the cache; this is unavoidable.
    export TFCI=py311,linux_x86,public_cache,disk_cache
    
    # Recommended: Configure Docker. (Linux only)
    #
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top