Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for function (0.18 sec)

  1. tensorflow/c/eager/graph_function.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_GRAPH_FUNCTION_H_
    #define TENSORFLOW_C_EAGER_GRAPH_FUNCTION_H_
    
    #include "tensorflow/c/eager/abstract_function.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/refcount.h"
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_function.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_
    
    #include "absl/status/statusor.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/platform/intrusive_ptr.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status.h"
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/graph_function.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/eager/graph_function.h"
    
    #include <utility>
    
    #include "tensorflow/c/eager/abstract_function.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_remote_function_test.cc

                                        /*remote_func_outputs=*/true);
    }
    TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) {
      // A remote input may be not ready when we start running a function. Test that
      // the function execution should wait until the remote input is ready.
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false,
                                        /*heavy_load_on_streaming_rpc=*/true);
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/grad_test_helper.cc

        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error) {
      auto num_inputs = inputs.size();
      std::vector<AbstractTensorHandle*> outputs(num_inputs);
      auto s = RunModel(grad_model, ctx, inputs, absl::MakeSpan(outputs),
                        /*use_function=*/use_function);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
    
      for (int i = 0; i < num_inputs; ++i) {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/custom_gradient_test.cc

      AbstractTensorHandle* exp_output;
      TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp"));
      std::unique_ptr<GradientFunction> gradient_function(
          new PassThroughGradientFunction);
      tape.RecordOperation(inputs, {exp_output}, gradient_function.release());
      TF_RETURN_IF_ERROR(tape.ComputeGradient(ctx,
                                              /*targets*/ {exp_output},
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.h

    // here.
    void TF_SetTracingImplementation(const char* name, TF_Status*);
    
    // Creates a new TensorFlow function. A Function is an execution context, and as
    // such it can trace operations through TF_ExecuteOperation. After completing
    // tracing, a function can be obtained by TF_FinalizeFunction.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* status);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients.h

    using GradientFunctionFactory =
        std::function<GradientFunction*(const ForwardOperation& op)>;
    
    // Map from op name to a `GradientFunctionFactory`.
    class GradientRegistry {
     public:
      Status Register(const string& op,
                      GradientFunctionFactory gradient_function_factory);
      Status Lookup(const ForwardOperation& op,
                    std::unique_ptr<GradientFunction>* gradient_function) const;
    
     private:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradient_checker.h

     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  10. ci/official/utilities/repack_libtensorflow.sh

    #
    # Repacks libtensorflow tarballs into $DIR with provided $TARBALL_SUFFIX,
    # and also repacks libtensorflow-src.jar into a standardized format.
    
    # Helper function to copy a srcjar after moving any source files
    # directly under the root to the "maven-style" src/main/java layout
    #
    # Source files generated by annotation processors appear directly
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top