Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for output_arg (0.17 sec)

  1. tensorflow/cc/framework/cc_op_gen.cc

      strings::StrAppend(out, "  }\n\n");
    
      for (int i = 0; i < op_info.graph_op_def.output_arg_size(); ++i) {
        const string arg_range = strings::StrCat(
            "_outputs_range[\"", op_info.graph_op_def.output_arg(i).name(), "\"]");
        if (op_info.is_list_output[i]) {
          strings::StrAppend(out, "  for (int32 i = ", arg_range, ".first; i < ",
                             arg_range, ".second; ++i)\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cluster_util.cc

        const OpRegistrationData* op_reg;
        if (OpRegistry::Global()->LookUp(call_target.name(), &op_reg).ok()) {
          const OpDef& op = op_reg->op_def;
          if (absl::c_any_of(op.output_arg(), [](const OpDef::ArgDef arg) {
                return arg.is_ref();
              })) {
            return true;
          }
          continue;
        }
    
        callee_ref_nodes.clear();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.cc

      for (int i = 0; i < graph_op_def.output_arg_size(); ++i) {
        // ApiDef arguments must be in the same order as in OpDef since
        // we initialize ApiDef based on OpDef.
        const auto& arg = graph_op_def.output_arg(i);
        const auto& api_def_arg(api_def.out_arg(i));
        CHECK_EQ(arg.name(), api_def_arg.name());
    
        bool is_list = ArgIsList(arg);
        output_types.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

        TestUnavailableErrorOp);
    
    string FunctionWithErrorOp(const tensorflow::StringPiece op_name) {
      const std::string& func_str =
          "    signature {"
          "      name: 'FunctionWith__OP_NAME__'"
          "      output_arg {"
          "        name: 'out'"
          "        type: DT_STRING"
          "      }"
          "    }"
          "    node_def {"
          "      name: 'error_op'"
          "      op: '__OP_NAME__'"
          "    }"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

              name: "num_shards"
              type: DT_INT32
            }
            output_arg {
              name: "filename"
              type: DT_STRING
            }
          }
          op {
            name: "StatefulPartitionedCall"
            input_arg {
              name: "args"
              type_list_attr: "Tin"
            }
            output_arg {
              name: "output"
              type_list_attr: "Tout"
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

        const OpDef& signature = fdef.signature();
        ASSERT_EQ(outputs.size(), signature.output_arg_size());
        for (int i = 0; i < outputs.size(); ++i) {
          const OpDef::ArgDef& arg = signature.output_arg(i);
          const IOSpec& out = outputs[i];
          if (out.second != DT_INVALID) {
            ASSERT_EQ(arg.type(), out.second)
                << "Got unexpected type for output " << i
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      def tpu_subgraph():
          return tf.tpu.rewrite(model_fn, args)
    
      return tf.raw_ops.TPUPartitionedCall(
          args=tpu_subgraph.captured_inputs,
          Tout=[o.type for o in tpu_subgraph.definition.signature.output_arg],
          f=tpu_subgraph,
          device_ordinal=[0])
    
    static_shape = tf.placeholder(tf.int32, shape=([3]), name='static_size')
    
    w = tf.Variable(tf.constant([[1.0], [2.0], [3.0]]), name='w')
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            when:
            relocatedJarCreator.create(outputJar, [jarFile1, jarFile2, jarFile3, jarFile4, jarFile5, jarFile6, inputDirectory])
    
            then:
    
            TestFile[] contents = tmpDir.testDirectory.listFiles().findAll { it.isFile() }
            contents.length == 1
            contents[0] == outputJar
            handleAsJarFile(outputJar) { JarFile file ->
                List<JarEntry> entries = file.entries() as List
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

    const std::vector<ArgView>& OpView::Outputs() const { return output_args_; }
    
    const std::vector<AttrView>& OpView::Attributes() const {
      return argument_attrs_;
    }
    
    const std::vector<OpArgumentView>& OpView::AllArguments() const {
      return all_arguments_;
    }
    
    int OpView::NumInputs() const { return input_args_.size(); }
    
    int OpView::NumOutputs() const { return output_args_.size(); }
    
    ArgView OpView::OnlyInput() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/NativeCompiler.java

            List<String> sourceArgs = getSourceArgs(sourceFile);
            List<String> outputArgs = getOutputArgs(spec, getOutputFileDir(sourceFile, objectDir, objectFileExtension));
            List<String> pchArgs = maybeGetPCHArgs(spec, sourceFile);
    
            return newInvocation("compiling ".concat(sourceFile.getName()), objectDir, buildPerFileArgs(genericArgs, sourceArgs, outputArgs, pchArgs), spec.getOperationLogger());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top