Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_WhileParams (0.37 sec)

  1. tensorflow/c/c_api.h

      // for created operations.
      const char* name;
    } TF_WhileParams;
    
    // Creates a TF_WhileParams for creating a while loop in `g`. `inputs` are
    // outputs that already exist in `g` used as initial values for the loop
    // variables.
    //
    // The returned TF_WhileParams will have all fields initialized except
    // `cond_output`, `body_outputs`, and `name`. The `body_outputs` buffer will be
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        s->status = InvalidArgument(
            "TF_WhileParams must be created by successful TF_NewWhile() call");
        return false;
      }
      return true;
    }
    
    bool ValidateInputWhileParams(const TF_WhileParams& params, TF_Status* s) {
      if (params.cond_output.oper == nullptr) {
        s->status = InvalidArgument("TF_WhileParams `cond_output` field isn't set");
        return false;
      }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top