Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for FunctionBody (0.53 sec)

  1. tensorflow/compiler/mlir/python/mlir.cc

      if (fdef == nullptr) {
        s = tensorflow::errors::NotFound("Cannot find function ", function_name);
        tsl::Set_TF_Status_from_Status(status, s);
        return "// error";
      }
    
      std::unique_ptr<tensorflow::FunctionBody> fbody;
      s = FunctionDefToBodyHelper(*fdef, tensorflow::AttrSlice(), &flib_def,
                                  &fbody);
      if (!s.ok()) {
        tsl::Set_TF_Status_from_Status(status, s);
        return "// error";
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // depends on an op with static output shape like tf.Const.
      absl::StatusOr<mlir::FunctionType> InferLibFunctionType(
          const FunctionBody& fbody);
    
      // Extracts arg and ret nodes from FunctionBody.
      void GetArgsAndRetsFromFunctionBody(
          const FunctionBody& fbody,
          absl::InlinedVector<OutputTensor, 4>* arg_nodes,
          absl::InlinedVector<OutputTensor, 4>* ret_nodes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_cluster_util.cc

          return true;
        }
    
        auto release_handle_on_return = gtl::MakeCleanup(
            [&] { TF_CHECK_OK(lib_runtime->ReleaseHandle(handle)); });
    
        const FunctionBody* fbody = lib_runtime->GetFunctionBody(handle);
        TF_RETURN_IF_ERROR(GetNodesRelatedToRefVariablesInDirection(
            *fbody->graph, lib_runtime, direction, depth + 1, &callee_ref_nodes));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        if (fdef == nullptr) {
          return errors::Internal("Failed to find function ", node->type_string(),
                                  " in function library.");
        }
        std::unique_ptr<FunctionBody> fbody;
        TF_RETURN_IF_ERROR(
            FunctionDefToBodyHelper(*fdef, node->attrs(), library, &fbody));
    
        InlineFunctionBodyOptions inline_opts;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/parser.go

    			d.Values = p.exprList()
    		}
    	}
    
    	return d
    }
    
    // FunctionDecl = "func" FunctionName [ TypeParams ] ( Function | Signature ) .
    // FunctionName = identifier .
    // Function     = Signature FunctionBody .
    // MethodDecl   = "func" Receiver MethodName ( Function | Signature ) .
    // Receiver     = Parameters .
    func (p *parser) funcDeclOrNil() *FuncDecl {
    	if trace {
    		defer p.trace("funcDecl")()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    <p>
    A function declaration binds an identifier, the <i>function name</i>,
    to a function.
    </p>
    
    <pre class="ebnf">
    FunctionDecl = "func" FunctionName Signature [ FunctionBody ] .
    FunctionName = identifier .
    FunctionBody = Block .
    </pre>
    
    <p>
    If the function's <a href="#Function_types">signature</a> declares
    result parameters, the function body's statement list must end in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    <p>
    A function declaration binds an identifier, the <i>function name</i>,
    to a function.
    </p>
    
    <pre class="ebnf">
    FunctionDecl = "func" FunctionName [ TypeParameters ] Signature [ FunctionBody ] .
    FunctionName = identifier .
    FunctionBody = Block .
    </pre>
    
    <p>
    If the function's <a href="#Function_types">signature</a> declares
    result parameters, the function body's statement list must end in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top