Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for tf_outputs (0.37 sec)

  1. tensorflow/c/c_api_internal.h

      // Used to link graphs contained in TF_WhileParams to the parent graph that
      // will eventually contain the full while loop.
      TF_Graph* parent;
      TF_Output* parent_inputs;
    };
    
    struct TF_OperationDescription {
      TF_OperationDescription(TF_Graph* g, const char* op_type,
                              const char* node_name)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

    TF_Function* TF_GraphToFunctionWithControlOutputs(
        const TF_Graph* fn_body, const char* fn_name,
        unsigned char append_hash_to_fn_name, int num_opers,
        const TF_Operation* const* opers, int ninputs, const TF_Output* inputs,
        int noutputs, const TF_Output* outputs, const char* const* output_names,
        int ncontrol_outputs, const TF_Operation* const* control_outputs,
        const char* const* control_output_names, const TF_FunctionOptions* opts,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/c/while_loop_test.cc

        DCHECK(success);
        TF_DeleteBuffer(buf);
        return def.DebugString();
      }
    
      TF_Status* s_;
      TF_Graph* graph_;
      std::vector<TF_Output> inputs_;   // The inputs to the while loop
      std::vector<TF_Output> outputs_;  // The final outputs of the while loop
      std::unique_ptr<TF_WhileParams> params_;
      std::unique_ptr<CSession> csession_;
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/unified_api_testutil.cc

        std::vector<AbstractTensorHandle*> fn_outputs(retvals);
        TF_RETURN_IF_ERROR(fn_op->Execute(
            absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()),
            &retvals));
        int skipped_indices = 0;
        for (int i = 0; i < outputs.size(); i++) {
          if (!null_indices.contains(i)) {
            outputs[i] = fn_outputs[i - skipped_indices];
          } else {
            skipped_indices += 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

        for (int i = 0; i < expected.size(); ++i) {
          ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i;
        }
      }
    
      std::vector<TF_Output> ToOutput(const std::vector<TF_Operation*> ops) {
        std::vector<TF_Output> out;
        for (auto op : ops) {
          out.push_back({op, 0});
        }
        return out;
      }
    
      void Define(int num_opers, const std::vector<TF_Operation*>& opers,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ops/mlir_passthrough_op.cc

    namespace tensorflow {
    
    REGISTER_OP("MlirPassthroughOp")
        .Attr("mlir_module: string")
        .Attr("Tinputs : list(type) >= 0")
        .Input("inputs: Tinputs")
        .Attr("Toutputs : list(type) >= 0")
        .Output("outputs: Toutputs")
        .SetShapeFn(shape_inference::UnknownShape);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 14 23:15:53 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/type_attr.mlir

    // Check that attributes that define types are exported.
    
    // CHECK: key: "Tinputs"
    // CHECK-NEXT:    value
    // CHECK-NEXT:      list
    // CHECK-NEXT:        type: DT_FLOAT
    
    // CHECK: key: "Toutputs"
    // CHECK-NEXT:    value
    // CHECK-NEXT:      list
    // CHECK-NEXT:        type: DT_FLOAT
    
    // CHECK: "extra_type_attr"
    // CHECK-NEXT:    value
    // CHECK-NEXT:      list
    // CHECK-NEXT:        type: DT_INT32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/custom_device_testutil.cc

        }
        if (TF_GetCode(s) != TF_OK) return;
      }
      std::vector<TFE_TensorHandle*> op_outputs(*num_outputs);
      TFE_Execute(op, op_outputs.data(), num_outputs, s);
      TFE_DeleteOp(op);
      if (TF_GetCode(s) != TF_OK) return;
      std::vector<TFE_TensorHandle*> unwrapped_outputs;
      unwrapped_outputs.reserve(op_outputs.size());
      for (auto* handle : op_outputs) {
        unwrapped_outputs.push_back(handle);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 03 20:47:31 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_OutputListSetNumOutputs(mm_outputs, 1, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TF_ExecuteOperation(fn_op, 1, &input_t, mm_outputs, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      ASSERT_EQ(1, TF_OutputListNumOutputs(mm_outputs));
      TF_AbstractTensor* final_result = TF_OutputListGet(mm_outputs, 0);
      TFE_TensorHandle* final =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/changes/DefaultTaskExecutionMode.java

        private static final DefaultTaskExecutionMode RERUN_TASKS_ENABLED = new DefaultTaskExecutionMode("Executed with '--rerun-tasks'.", true, false);
        private static final DefaultTaskExecutionMode NO_OUTPUTS = new DefaultTaskExecutionMode("Task has not declared any outputs despite executing actions.", false, false);
        private static final DefaultTaskExecutionMode INCREMENTAL = new DefaultTaskExecutionMode(null, true, true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 04 07:36:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top