Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MayCallFunction (0.11 sec)

  1. tensorflow/compiler/jit/resource_operation_safety_analysis.cc

      }
    
      // We conservatively assume that functions will both read and write resource
      // variables.  In the future we may consider doing some form of
      // inter-procedural analysis.
      if (MayCallFunction(n, flib_def)) {
        *out_resource_op_kind = XlaResourceOpKind::kReadWrite;
      } else {
        *out_resource_op_kind = std::nullopt;
      }
    
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cluster_util.cc

                                            : xla_global_jit_level.general;
      VLOG(4) << "GetGlobalJitLevelForGraph returning " << result;
      return result;
    }
    
    bool MayCallFunction(const Node& n, const FunctionLibraryDefinition* flib_def) {
      if (flib_def->Contains(n.type_string())) {
        return true;
      }
    
      // This is a conservative check: there may be nodes with a `func`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top