code: def test_log_without_where():
      t1 = ones((3, 4), chunk_size=2)
  
      t2 = log(t1, out=t1)
  
      assert isinstance(t2.op, TensorLog)
      assert t1.op.out.key == t1.op.input.key
      assert t2 is t1
      assert t2.op.input.extra_params.raw_chunk_size == 2
      assert t2.key != t2.op.input.key
  
      t3 = empty((3, 4), chunk_size=2)
      t4 = log(t1, out=t3, where=t1 > 0)
      assert isinstance(t4.op, TensorLog)
      assert t4 is t3
      assert t2.op.input.extra_params.raw_chunk_size == 2
      assert t2.key != t2.op.input.key
  
imports: import numpy
  import pytest
  import scipy.sparse
  from ....core import enter_mode, tile
  from ...datasource import array, ones, tensor, empty
  from ...fetch import TensorFetch
  from ...linalg import matmul
  from ...core import Tensor, SparseTensor
  from ..None import add, subtract, truediv, log, frexp, around, isclose, isfinite, negative, cos, tree_add, tree_multiply, TensorAdd, TensorTreeAdd, TensorTreeMultiply, TensorSubtract, TensorLog, TensorIsclose, TensorGreaterThan
label_desc: Use image node_id 8 for calling a global function with example usage: test_log_without_where() without return types