Op

อินเทอร์เฟซสาธารณะ Op
คลาสย่อยทางอ้อมที่รู้จัก

หน่วยคำนวณเชิงตรรกะ

Op implementations provide a strongly typed API for building and executing operations without the use of literals and indexes, as required in internal classes like Operation .

Ops can be classified under two categories:

  • Raw ops target a single TensorFlow operation and are, in most cases, generated automatically from the OpDef proto definitions exposed by TensorFlow runtime library.
  • Composite ops execute a series of other ops to accomplish a task logically presented as a single unit of computation.

วิธีการสาธารณะ

บทคัดย่อ ExecutionEnvironment
สิ่งแวดล้อม ()
ส่งคืนสภาพแวดล้อมการดำเนินการที่ op นี้ถูกสร้างขึ้น
การดำเนินการ ที่เป็นนามธรรม
สหกรณ์ ()
ส่งกลับหน่วยการคำนวณนี้เป็นการ Operation เดียว

วิธีการสาธารณะ

public abstract ExecutionEnvironment env ()

ส่งคืนสภาพแวดล้อมการดำเนินการที่ op นี้ถูกสร้างขึ้น

public abstract Operation op ()

ส่งกลับหน่วยการคำนวณนี้เป็นการ Operation เดียว

For a raw op, the returned value correspond to the TensorFlow operation wrapped by this op.

For a composite op, the returned value usually correspond to the last operation invoked in a chain or to a NoOp grouping one or more operations as a single unit of computation.

การส่งคืน