Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for and (0.14 sec)

  1. tensorflow/c/c_api.h

      // The units of total_size depend on is_list and type.
      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
      //     valued attribute.
      // (2) If type == TF_ATTR_STRING and is_list == 1
      //     then total_size is the cumulative byte size
      //     of all the strings in the list.
      // (3) If type == TF_ATTR_SHAPE and is_list == 0
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_test.cc

      TF_Operation* plusB = Add(plus2, b, graph, s, "plusB");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Setup a session and a partial run handle.  The partial run will allow
      // computation of A + 2 + B in two phases (calls to TF_SessionPRun):
      // 1. Feed A and get (A+2)
      // 2. Feed B and get (A+2)+B
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph, opts, s);
    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)
  3. tensorflow/c/eager/c_api_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      tensorflow::NameAttrList name_and_attrs;
      ASSERT_TRUE(name_and_attrs.ParseFromArray(serialized_attr_values->data,
                                                serialized_attr_values->length));
      ASSERT_EQ("VarHandleOp", name_and_attrs.name());
      ASSERT_EQ(tensorflow::DT_INT64,
                name_and_attrs.attr().find("dtype")->second.type());
      TF_DeleteBuffer(serialized_attr_values);
    
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    using ::tensorflow::error::Code;
    
    // As we need to test multiple URI schemes we need a parameterized test.
    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    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. configure.py

      # previous instances, so we need to build up a complete list and write a
      # single list of filters for the .bazelrc file.
    
      # Filters to use with both --test_tag_filters and --build_tag_filters
      test_and_build_filters = ['-benchmark-test', '-no_oss', '-oss_excluded']
      # Additional filters for --test_tag_filters beyond those in
      # test_and_build_filters
      test_only_filters = ['-oss_serial']
      if is_windows():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. .bazelrc

    #     release_cpu_linux:               Toolchain and CUDA options for Linux CPU builds.
    #     release_gpu_linux:               Toolchain and CUDA options for Linux GPU builds.
    #     release_cpu_macos:               Toolchain and CUDA options for MacOS CPU builds.
    #     release_cpu_windows:             Toolchain and CUDA options for Windows CPU builds.
    
    # Default build options. These are applied first and unconditionally.
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// This is the interop header between core TensorFlow and modular filesystem
    /// plugins (see initial RFC https://github.com/tensorflow/community/pull/101).
    ///
    /// Both core TensorFlow and every plugin will use this header. The associated
    /// `.cc` file is only used by core TensorFlow to implement checking needed for
    /// plugin registration and ensuring API and ABI compatibility. Plugin authors
    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)
  8. tensorflow/c/c_api_function_test.cc

    TEST_F(CApiFunctionTest, SetGradientAndRun) {
      // Define the function and its grad
      DefineFunction(func_name_, &func_);
      TF_Function* grad_func;
      DefineFunction("MyGrad", &grad_func);
    
      // Add func and its gradient to host graph
      TF_GraphCopyFunction(host_graph_, func_, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  9. tensorflow/BUILD

    # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this
    # shared object directly.
    #
    # For example, from Python tf.load_op_library loads a custom op library (via
    # dlopen() on Linux), the library finds libtensorflow_framework.so (no
    # filesystem search takes place, since libtensorflow_framework.so has already
    # been loaded by pywrap_tensorflow) and registers its ops and kernels via
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top