Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for function (0.2 sec)

  1. tensorflow/c/c_api_function_test.cc

      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("TF_Output scalar:0 is neither in the function body nor "
                       "among function inputs. Encountered while creating "
                       "function 'MyFunc'"),
                string(TF_Message(s_)));
    }
    
    void DefineFunction(const char* name, TF_Function** func,
                        const char* description = nullptr,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// assume that before any function using path arguments is invoked, the path is
    /// made canonical by calling the function provided by `translate_name` or a
    /// default implementation of that (supplied by core TensorFlow).
    ///
    /// The only time the pointer to the `TF_*` structures from section 1 is not
    /// marked `const` in these functions is when these function are either
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  3. configure.py

        var_name: (String) string for name of environment variable, e.g. "TF_MYVAR".
        var_default: (String) default value string.
        ask_for_var: (String) string for how to ask for user input.
        check_success: (Function) function that takes one argument and returns a
          boolean. Should return True if the value provided is considered valid. May
          contain a complex error message if error_msg does not provide enough
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

      int index;  // The index of the output within oper.
    } TF_Output;
    
    // TF_Function is a grouping of operations with defined inputs and outputs.
    // Once created and added to graphs, functions can be invoked by creating an
    // operation whose operation type matches the function name.
    typedef struct TF_Function TF_Function;
    
    // Function definition options. TODO(iga): Define and implement
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. tensorflow/c/eager/c_api_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      string function_def = MatMulFunction();
      TFE_ContextAddFunctionDef(ctx, function_def.data(), function_def.size(),
                                status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      for (bool clear_cache : {true, false, true}) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  6. tensorflow/BUILD

                ] + tf_additional_binary_deps() +
                # TODO(b/259305727): Remove this select and include captured_function in macos builds.
                select({
                    "//tensorflow:macos": [],
                    "//conditions:default": [
                        "//tensorflow/core/data:captured_function",
                    ],
                }),
        soversion = VERSION,
        static_deps = PACKAGE_STATIC_DEPS,
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      // static random value unique for all the tests in one invocation, and the
      // current test name.
      //
      // Since the test name contains `/` (due to parameters), this function
      // replaces `/` with `_`.
      //
      // We trade in one extra initialization for readability.
      ModularFileSystemTest() {
        const std::string test_name = tensorflow::str_util::StringReplace(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

      TF_Graph* graph = TF_NewGraph();
    
      // Make a placeholder operation.
      TF_Operation* feed = Placeholder(graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Test TF_Operation*() query functions.
      EXPECT_EQ(string("feed"), string(TF_OperationName(feed)));
      EXPECT_EQ(string("Placeholder"), string(TF_OperationOpType(feed)));
      EXPECT_EQ(string(""), string(TF_OperationDevice(feed)));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top