Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FunctionBody (0.48 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

      for (const std::string& func_name :
           function_library->ReachableDefinitions(graph_def).ListFunctionNames()) {
        const FunctionDef* func_def = function_library->Find(func_name);
        std::unique_ptr<FunctionBody> func_body;
        absl::Status status = FunctionDefToBodyHelper(
            *func_def, AttrSlice(&func_def->attr()), function_library, &func_body);
        // This is not expected to happen in practice
        if (!status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

    // [Experimental]
    // Given a Function, returns a MLIR module containing the graph, expressed with
    // tf_executor dialect.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertFunctionToMlir(
        const FunctionBody* fbody, const FunctionLibraryDefinition& flib_def,
        mlir::MLIRContext* context);
    
    // Given a SavedModel, returns a MLIR module containing the functions, expressed
    // with tf_executor dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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