Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Graves (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        // is okay, as stat requests are typically fast, and concurrent requests are
        // often for the same file. Future work can split this up into one lock per
        // key if this proves to be a significant performance bottleneck.
        absl::MutexLock lock(&mu_);
        if (LookupLocked(key, value)) {
          return TF_SetStatus(status, TF_OK, "");
        }
        compute_func(key, value, status);
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

                                                         TF_Buffer* buf,
                                                         TF_Status* status);
    
    // Get GraphDebugInfo containing stack traces mapping to node names
    TF_CAPI_EXPORT extern void TFE_ContextGetGraphDebugInfo(
        TFE_Context* ctx, const char* function_name, TF_Buffer* buf,
        TF_Status* status);
    
    // Extracts a TF_Function from the context.
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

              NodeDef* const node_def = graph_def.add_node();
              *node_def = node->def();
            }
          }
          *graph_def.mutable_library() = graph.flib_def().ToProto();
          if (flags::Global().more_stack_traces.value()) {
            *graph_def.mutable_debug_info() = graph.BuildDebugInfo();
          }
          session->graph->mu.unlock();
          status->status = session->session->Extend(std::move(graph_def));
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function.cc

      tensorflow::StackTracesMap stack_traces;
      for (const Node* n : fn_body->graph.nodes()) {
        stack_traces[n->name()] = n->GetStackTrace();
      }
    
      TF_Function* tf_function = new TF_Function();
      tf_function->record = new tensorflow::FunctionRecord(
          std::move(fdef), std::move(stack_traces), false);
    
      return tf_function;
    }
    
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  5. tensorflow/c/eager/tape.h

      // functions.
      virtual void MarkAsResult(Gradient* gradient) const = 0;
    
      // Deletes the input tensor.
      virtual void DeleteGradient(Gradient* gradient) const = 0;
    };
    
    // Traces the execution of operations, doing eager garbage collection, and
    // exporting a full trace so other code can do backpropagation. Not thread-safe.
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_function_test.cc

      EXPECT_EQ(func_stack_traces->size(), 4);
      EXPECT_EQ(func_stack_traces->at("neg")->ToString({}), kNegStackToString);
      EXPECT_EQ(func_stack_traces->at("feed")->ToString({}), kFeedStackToString);
    
      // Verify that stack traces of grad_func is copied to graph function library.
      ASSERT_NE(grad_stack_traces, nullptr);
      EXPECT_EQ(grad_stack_traces->size(), 4);
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Same as `AddFunctionDef`, but additionally saves the `stack_traces` under
      // the key of the function definition name (to be retrieved during function
      // instantiation).
      virtual Status AddFunctionDefWithStackTraces(
          const FunctionDef& fdef, const StackTracesMap& stack_traces) = 0;
    
      // Find and return a added function by its name.
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

            "Unable to find function with name: ", function_name);
        return;
      }
    
      tensorflow::GraphDebugInfo debug_info =
          tensorflow::StackTracesMapToGraphDebugInfo(
              function_record->stack_traces());
    
      string str = debug_info.SerializeAsString();
      void* data = tensorflow::port::Malloc(str.length());
      str.copy(static_cast<char*>(data), str.length(), 0);
      buf->data = data;
      buf->length = str.length();
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. tensorflow/c/eager/c_api.cc

        return;
      }
    
      AnnotateEagerRuntimeConstructionContext(*fdef_or.value());
      status->status = tensorflow::unwrap(ctx)->AddFunctionDefWithStackTraces(
          *fdef_or.value(), function->record->stack_traces());
    }
    
    TF_Function* TFE_ContextGetFunction(TFE_Context* ctx, const char* name,
                                        TF_Status* status) {
      tensorflow::core::RefCountPtr<tensorflow::FunctionRecord> record =
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  10. RELEASE.md

    *   Improvements to the TensorFlow debugging experience:
    
        *   Previously, TensorFlow error stack traces involved many internal frames,
            which could be challenging to read through, while not being actionable
            for end users. As of TF 2.7, TensorFlow filters internal frames in most
            errors that it raises, to keep stack traces short, readable, and focused
            on what's actionable for end users (their own code).
    
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
Back to top