Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Stack (0.17 sec)

  1. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. README.md

    tracking requests and bugs, please see
    [TensorFlow Forum](https://discuss.tensorflow.org/) for general questions and
    discussion, and please direct specific questions to
    [Stack Overflow](https://stackoverflow.com/questions/tagged/tensorflow).**
    
    The TensorFlow project strives to abide by generally accepted best practices in
    open-source software development.
    
    ## Patching guidelines
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 05 15:00:10 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      CancellationManager* cancellation_manager_ TF_GUARDED_BY(execution_mutex_);
      //   Outputs:
      std::vector<TensorHandlePtr> op_outputs_ TF_GUARDED_BY(execution_mutex_);
      // TF_Status is an incomplete type and so can't be stack allocated. To avoid
      // unnecessary allocations each Execute call, we keep one heap-allocated
      // version for the thread.
      StatusPtr status_ TF_GUARDED_BY(execution_mutex_);
    
      const std::string device_;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. tensorflow/c/eager/tape.h

      std::vector<int64_t> tensor_stack;
      tensor_stack.reserve(target.size());
      for (auto t : target) {
        tensor_stack.push_back(t);
      }
      BackpropInitialState<BackwardFunction, TapeTensor> result;
      while (!tensor_stack.empty()) {
        int64_t tensor_id = tensor_stack.back();
        tensor_stack.pop_back();
        auto op_id_it = tensor_tape.find(tensor_id);
    C
    - Registered: Tue Apr 30 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  7. .github/bot_config.yml

          * Try to build TF from sources by changing CPU optimization flags.
       
       *Please let us know if this helps.*
       
    windows_comment: >
       From the stack trace it looks like you are hitting windows path length limit.
          * Try to disable path length limit on Windows 10.
            * Refer [disable path length limit instructions guide.](https://mspoweruser.com/ntfs-260-character-windows-10/)
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Oct 17 11:48:07 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. 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;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  10. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top