Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for body_fn (0.1 sec)

  1. tensorflow/c/c_api.cc

                /* nreturn_nodes */ 1, &cond_output));
            *output = cond_output[0];
            return absl::OkStatus();
          };
    
      // 'body_fn' copies the body graph into the parent graph.
      tensorflow::ops::BodyGraphBuilderFn body_fn =
          [params, parent, num_loop_vars](
              const tensorflow::Scope& scope,
              const std::vector<tensorflow::Output>& inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      auto cond_fn =
          symbol_table.lookupNearestSymbolFrom<func::FuncOp>(*this, getCondAttr());
      auto body_fn =
          symbol_table.lookupNearestSymbolFrom<func::FuncOp>(*this, getBodyAttr());
      if (!cond_fn) {
        return emitOpError("cond refers to an undefined function : ") << getCond();
      }
      if (!body_fn) {
        return emitOpError("body refers to an undefined function : ") << getBody();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      TF_RET_CHECK(n->IsWhileNode());
    
      // Check if there is any lifted args in body function.
      NameAttrList body_func;
      TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), "body", &body_func));
      const FunctionDef* body_function_def = fld->Find(body_func.name());
      TF_RET_CHECK(body_function_def);
    
      if (!HasLiftedArgs(*body_function_def)) {
        return absl::OkStatus();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
Back to top