Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetTargets (0.23 sec)

  1. tensorflow/c/c_test_util.h

      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
      void SetOutputs(const std::vector<TF_Output>& outputs);
      void SetTargets(std::initializer_list<TF_Operation*> targets);
    
      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
      TF_Tensor* output_tensor(int i) { return output_values_[i]; }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.cc

    }
    
    void CSession::SetOutputs(const std::vector<TF_Output>& outputs) {
      ResetOutputValues();
      outputs_ = outputs;
      output_values_.resize(outputs_.size());
    }
    
    void CSession::SetTargets(std::initializer_list<TF_Operation*> targets) {
      targets_.clear();
      for (TF_Operation* t : targets) {
        targets_.emplace_back(t);
      }
    }
    
    void CSession::Run(TF_Status* s) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  3. src/buildall.bash

    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    	../bin/go tool dist list | sed -e 's|/|-|' |
    		grep -E -v '^(android|ios)' # need C toolchain even for cross-compiling
    	echo linux-arm-arm5
    }
    
    selectedtargets() {
    	gettargets | grep -E "$pattern"
    }
    
    # put linux first in the target list to get all the architectures up front.
    linux_targets() {
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top