class_docstr: An object corresponds to each block sref in the sref tree, which
  tracks the producer-consumer dependency between blocks.
  
  Glossary:
  
  - Block scope: A contiguous subtree of the sref tree, rooted at
    each block sref, whose components are:
  
    - scope root: a block sref
    - internal srefs: loop srefs
    - scope leaves: block srefs
  
  - Child block: The scope leaf blocks under the scope root or a specific internal sref
class_docstr_tok: ["An","object","corresponds","to","each","block","sref","in","the","sref","tree",",","which","tracks","the","producer-consumer","dependency","between","blocks",".","Glossary",":","-","Block","scope",":","A","contiguous","subtree","of","the","sref","tree",",","rooted","at","each","block","sref",",","whose","components","are",":","-","scope","root",":","a","block","sref","-","internal","srefs",":","loop","srefs","-","scope","leaves",":","block","srefs","-","Child","block",":","The","scope","leaf","blocks","under","the","scope","root","or","a","specific","internal","sref"]
docstr: Get all dependencies whose `src` is the target`block`.
  
  Parameters
  ----------
  block: StmtSRef
      The queried block
  
  Returns
  -------
  blocks: List[Dependency]
      The dependencies
docstr_tok: ["Get","all","dependencies","whose","`","src","`","is","the","target","`","block","`",".","Parameters","--","--","--","--","--","block",":","StmtSRef","The","queried","block","Returns","--","--","--","-","blocks",":","List","[","Dependency","]","The","dependencies"]
code: def get_deps_by_src(self, block: StmtSRef) -> List[Dependency]:
      """Get all dependencies whose `src` is the target`block`.
  
      Parameters
      ----------
      block: StmtSRef
          The queried block
  
      Returns
      -------
      blocks: List[Dependency]
          The dependencies
      """
      return _ffi_api.BlockScopeGetDepsBySrc(self, block)
  
file_path: tvm/python/tvm/tir/block_scope.py
imports: from enum import IntEnum
  from typing import List, Optional, Union
  from tvm._ffi import register_object
  from tvm.runtime import Object
  from tvm.tir import Block, For
  from .None import _ffi_api
label_desc: Use image node_id 1 for calling the BlockScope obj's underlying member method code with example usage: obj.get_deps_by_src(block) and returns: _ffi_api