Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Test (0.15 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt

    # Test dependencies for pip tests
    grpcio ~= 1.42.0
    portpicker ~= 1.5.2
    scipy ~= 1.7.3
    jax ~= 0.2.26
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 117 bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack_test.cc

    #include "tensorflow/c/eager/dlpack.h"
    
    #include <vector>
    
    #include "absl/strings/str_join.h"
    #include "include/dlpack/dlpack.h"  // from @dlpack
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    void TestHandleFromDLPack(TF_Status* status, TFE_Context* ctx,
                              std::vector<int64_t> shape,
                              std::vector<int64_t> strides) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      char scratch[64 /* big enough for test_data and more_test_data */] = {0};
      StringPiece result;
      status = read_file->Read(0, test_data.size() + more_test_data.size(), &result,
                               scratch);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      EXPECT_EQ(test_data + more_test_data, result);
      EXPECT_EQ(
          read_file->Read(test_data.size(), more_test_data.size(), &result, scratch)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

          .SetShapeFn(tensorflow::shape_inference::UnknownShape)
    ATTR_TEST_REGISTER_OP(string);
    ATTR_TEST_REGISTER_OP(int);
    ATTR_TEST_REGISTER_OP(float);
    ATTR_TEST_REGISTER_OP(bool);
    ATTR_TEST_REGISTER_OP(type);
    ATTR_TEST_REGISTER_OP(shape);
    ATTR_TEST_REGISTER_OP(tensor);
    #undef ATTR_TEST_REGISTER_OP
    
    class CApiAttributesTest : public ::testing::Test {
     protected:
      CApiAttributesTest()
    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)
  6. tensorflow/c/experimental/gradients/nn_grad_test.cc

    ==============================================================================*/
    #include "tensorflow/c/experimental/gradients/nn_grad.h"
    
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/gradients/grad_test_helper.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    #include "tensorflow/c/experimental/ops/nn_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
    }
    TEST(CAPI, TensorHandleSilentCopy) {
      TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyAsync) {
      TensorHandleSilentCopy(true, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyLocalPolicy) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/grappler/grappler_test.cc

    #include "tensorflow/core/grappler/costs/graph_properties.h"
    #include "tensorflow/core/grappler/grappler_item.h"
    #include "tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace grappler {
    namespace {
    
    void optimize_func(void* optimizer, const TF_Buffer* graph_buf,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients_test.cc

          "or NotDifferentiableGradientFunction.",
          s.message());
      ASSERT_EQ(nullptr, outputs[0]);
    }
    
    // TODO(b/164171226): Enable this test with tfrt after AddInputList is
    // supported. It is needed for IdentityN.
    #ifdef PLATFORM_GOOGLE
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/grad_test_helper.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_GRAD_TEST_HELPER_H_
    #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_GRAD_TEST_HELPER_H_
    
    #include "tensorflow/c/eager/gradients.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    
    C
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Jan 14 20:36:51 GMT 2021
    - 1.5K bytes
    - Viewed (0)
Back to top