Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsXlaCompiledKernel (0.37 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass.h

    // subgraphs pass and that should in turn be compiled via XlaLaunch operators.
    extern const char* const kXlaCompiledKernelAttr;
    
    // Does `node` have the kXlaCompiledKernelAttr attribute?
    bool IsXlaCompiledKernel(const Node& node);
    
    // Functions produced by the EncapsulateSubgraphs pass have their arguments in
    // the order:
    // 1) compile-time constant arguments, in host memory,
    // 2) other arguments, in device memory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 12 03:59:36 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/build_xla_ops_pass.cc

                        }
    
                        // Only compile nodes that are marked for compilation by the
                        // compilation-marking pass (via 'attr_name').
                        return IsXlaCompiledKernel(*n);
                      });
    
      bool lazy_compilation_enabled =
          enable_lazy_compilation_
              ? *enable_lazy_compilation_
              : GetBuildXlaOpsPassFlags()->tf_xla_enable_lazy_compilation;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        VLOG(3) << "Has ref vars = " << has_ref_vars
                << ", node: " << node->def().DebugString();
      }
      return absl::OkStatus();
    }
    
    bool IsXlaCompiledKernel(const Node& node) {
      bool is_compiled = false;
      bool has_compilation_attr =
          TryGetNodeAttr(node.attrs(), kXlaCompiledKernelAttr, &is_compiled) &&
          is_compiled;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top