Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AllReduceOp (0.05 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpSetAttrBool(op, "keep_dims", 1);
      TFE_OpSetAttrType(op, "Tidx", TF_INT32);
      TF_DeleteStatus(status);
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(input));
    
      return op;
    }
    
    TFE_Op* AllReduceOp(TFE_Context* ctx, TFE_TensorHandle* in, int group_size) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "CollectiveReduce", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top