Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for controls (0.2 sec)

  1. tensorflow/c/eager/c_api.h

    // error information in *status.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig(
        TFE_ContextOptions* options, const void* proto, size_t proto_len,
        TF_Status* status);
    
    // Controls how to act when we try to run an operation on a given device but
    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.cc

                                     TF_Operation** control_inputs,
                                     int max_control_inputs) {
      int count = 0;
      for (const auto* edge : oper->node.in_edges()) {
        if (edge->IsControlEdge() && !edge->src()->IsSource()) {
          if (count < max_control_inputs) {
            control_inputs[count] = ToOperation(edge->src());
          }
          ++count;
        }
      }
    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. CODE_OF_CONDUCT.md

    However, for the vast majority of issues, we aim to empower individuals to first resolve conflicts themselves, asking for help when needed, and only after that fails to escalate further. This approach gives people more control over the outcome of their dispute. 
    
    If you are experiencing or witnessing conflict, we ask you to use the following escalation strategy to address the conflict:
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // Get the number of control inputs to an operation.
    TF_CAPI_EXPORT extern int TF_OperationNumControlInputs(TF_Operation* oper);
    
    // Get list of all control inputs to an operation.  `control_inputs` must
    // point to an array of length `max_control_inputs` (ideally set to
    // TF_OperationNumControlInputs(oper)).  Returns the number of control
    // inputs (should match TF_OperationNumControlInputs(oper)).
    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)
  5. tensorflow/c/c_api_function.cc

          output_names_vec.push_back(string(output_names[i]));
        }
      }
    
      // Process control output names.
      std::vector<string> control_output_names_vec;
      if (control_output_names) {
        control_output_names_vec.reserve(ncontrol_outputs);
        for (int i = 0; i < ncontrol_outputs; ++i) {
          control_output_names_vec.push_back(string(control_output_names[i]));
        }
      }
    
      // Compute body nodes.
    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)
  6. tensorflow/c/eager/c_api_distributed_test.cc

                             std::unique_ptr<tensorflow::Graph>* graph,
                             tensorflow::FunctionLibraryDefinition* flib_def,
                             std::vector<std::string>* control_ret_node_names,
                             bool* control_rets_updated) override {
        // Inject failure to function instantiation if finding a node that contains
        // the given node name (error_node_) and requested device (error_device_).
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

      if (TF_GetCode(status) != TF_OK) return nullptr;
      if (parallel_tensor->num_tensors() == 1) {
        // Copy-off for single-device tensors is allowed to make debugging dynamic
        // control flow easier.
        return TFE_TensorHandleCopySharingTensor(parallel_tensor->tensor(0),
                                                 status);
      } else {
        TF_SetStatus(
            status, TF_UNIMPLEMENTED,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  8. ci/official/utilities/setup_macos.sh

      # we can pull in the latest changes.
      cd /Users/kbuilder/.pyenv/ && git reset --hard HEAD && git pull && cd -
    fi
    
    # "TFCI_MACOS_PYENV_INSTALL_ENABLE" controls whether to use Pyenv to install
    # the Python version set in "TFCI_PYTHON_VERSION" and use it as default.
    # We enable this in the nightly and release builds because before uploading the
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

      // Check that newly-imported scalar and feed have control deps (neg3 will
      // inherit them from input)
      TF_Operation* control_inputs[100];
      int num_control_inputs = TF_OperationGetControlInputs(
          scalar3, control_inputs, TF_OperationNumControlInputs(scalar3));
      ASSERT_EQ(2, num_control_inputs);
      EXPECT_EQ(feed, control_inputs[0]);
      EXPECT_EQ(feed2, control_inputs[1]);
    
      num_control_inputs = TF_OperationGetControlInputs(
    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)
  10. ci/official/bisect.sh

    # ==============================================================================
    # Run any CI script and env configuration to bisect a failing target in some
    # build configuration. You must set the following variables to control this
    # script:
    #
    #   TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job)
    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top