Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExtractAttrs (0.37 sec)

  1. tensorflow/c/eager/c_api_test.cc

      EXPECT_EQ(4.0, data[3]);
      TF_DeleteTensor(t);
    
      TFE_DeleteTensorHandle(h);
      TFE_DeleteTensorHandle(h_shares_tensor);
      TFE_DeleteContext(ctx);
    }
    
    tensorflow::AttrValueMap ExtractAttrs(TFE_Op* op) {
      tensorflow::AttrValueMap attr_values;
      tensorflow::EagerOperation* operation =
          tensorflow::OperationFromInterface(tensorflow::unwrap(op));
      operation->Attrs().FillAttrValueMap(&attr_values);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top