Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for argTypes (0.22 sec)

  1. tensorflow/c/experimental/ops/gen/model/arg_spec.h

      const string& description() const { return description_; }
      const ArgType arg_type() const { return arg_type_; }
      const int position() const { return position_; }
    
     private:
      explicit ArgSpec(const OpDef::ArgDef& arg_def, ArgType arg_type,
                       int position);
    
      string name_;
      string description_;
      ArgType arg_type_;
      int position_;
    };
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/views/arg_type_view.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    class ArgTypeView {
     public:
      explicit ArgTypeView(ArgType arg_type);
    
      string TypeName() const;
    
     private:
      ArgType arg_type_;
    };
    
    }  // namespace cpp
    }  // namespace generator
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

          arg.setType(resultType);
        }
        llvm::SmallVector<Type, 8> arg_types;
        for (auto arg : func.getArguments()) arg_types.push_back(arg.getType());
        func.setType(
            FunctionType::get(func.getContext(), arg_types,
                              func.front().getTerminator()->getOperandTypes()));
        return WalkResult::advance();
      });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/cpp/views/arg_type_view.cc

    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    ArgTypeView::ArgTypeView(ArgType arg_type) : arg_type_(arg_type) {}
    
    string ArgTypeView::TypeName() const {
      if (arg_type_.is_read_only()) {
        if (arg_type_.is_list()) {
          return "absl::Span<AbstractTensorHandle* const>";
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/net/rpc/debug.go

    	{{range .}}
    	<hr>
    	Service {{.Name}}
    	<hr>
    		<table>
    		<th align=center>Method</th><th align=center>Calls</th>
    		{{range .Method}}
    			<tr>
    			<td align=left font=fixed>{{.Name}}({{.Type.ArgType}}, {{.Type.ReplyType}}) error</td>
    			<td align=center>{{.Type.NumCalls}}</td>
    			</tr>
    		{{end}}
    		</table>
    	{{end}}
    	</body>
    	</html>`
    
    var debug = template.Must(template.New("RPC debug").Parse(debugText))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_kernel_creator.cc

      // Create the kernel.
      Device* dev = flr->device();
      Status s;
      auto props = std::make_shared<NodeProperties>(
          &fbody->record->fdef().signature(), node_def, fbody->arg_types,
          fbody->ret_types);
      OpKernelConstruction construction(DeviceType(dev->device_type()), dev,
                                        dev->GetAllocator(AllocatorAttributes()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/cc_op_gen_util.h

      string GetOpAttrStruct() const;
      string GetConstructorDecl(StringPiece op_name_prefix,
                                bool include_attr) const;
    
      string op_name;
      std::vector<string> arg_types;
      std::vector<string> arg_names;
      std::vector<string> output_types;
      std::vector<string> output_names;
      std::vector<bool> is_list_output;
      bool has_optional_attrs;
      string comment;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/README.md

    > parsed as "list(type)". Other `AttrDef` messages are not types, but instead
    > argument-like modifiers. In contrast, the generator model `ArgSpec` contains a
    > resolved `ArgType` which provides a boolean `is_list()` method directly, and
    > the model `OpSpec` provides a list of only the argument-like attributes. In
    > addition to convenience, this should aid consistency between generated code in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 18:51:25 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

          kTfSavedModelIndexPathAttr, builder.getArrayAttr({file_prefix_attr}))});
    
      const int insert_idx = func_op.getNumArguments();
    
      func_op.insertArgument(insert_idx, /*argType=*/filename_op_type, arg_attrs,
                             NameLoc::get(file_prefix_attr));
    
      return func_op.getArgument(insert_idx);
    }
    
    // Creates a 1D string array constant for "tensor_names" input of `RestoreV2`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top