Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Finalize (0.28 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

                   "Only TracingContext can be converted into a function."));
        return nullptr;
      }
      tsl::Set_TF_Status_from_Status(s,
                                     tracing_ctx->Finalize(unwrap(outputs), &func));
      TF_DeleteExecutionContext(ctx);
      return wrap(func);
    }
    
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

        // Extract the resulting tensor.
        add_output2 = TF_OutputListGet(add_outputs, 0);
        TF_DeleteOutputList(add_outputs);
      }
    
      TF_DeleteAbstractTensor(arg0);
      TF_DeleteAbstractTensor(arg1);
    
      // Finalize the function by providing the returned values.
      TF_AbstractFunction* func;
      {
        // We want to return the output of both add operations, create a new list
        // and populate it.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_internal.h

      virtual Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                  TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

              std::vector<string>(desc->colocation_constraints.begin(),
                                  desc->colocation_constraints.end()));
        }
        status->status = desc->node_builder.Finalize(&desc->graph->graph, &ret,
                                                     /*consume=*/true);
    
        if (status->status.ok()) {
          // Run shape inference function for newly added node.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/unified_api_testutil.cc

            } else {
              null_indices.insert(i);
            }
          }
          TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(func_ctx.get())
                                 ->Finalize(&output_list, &func));
          scoped_func.reset(func);
          for (auto output : output_list.outputs) {
            output->Unref();
          }
          TF_RETURN_IF_ERROR(ctx->RegisterFunction(func));
        }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

    //
    // Does not use the operation's definition to determine how many inputs should
    // be attached. It is intended for use with TFE_OpGetFlatInput to inspect an
    // already-finalized operation.
    //
    // Note that TFE_OpGetFlatInputCount and TFE_OpGetFlatInput operate on a flat
    // sequence of inputs, unlike TFE_OpGetInputLength (for getting the length of a
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

              "Unable to cast input to GraphTensor");
        }
        inputs_.push_back(t->output_);
        *output = tensorflow::down_cast<TracingTensorHandle*>(outputs[0]);
        return absl::OkStatus();
      }
    
      Status Finalize(OutputList* outputs, AbstractFunction** f) override {
        std::vector<TF_Output> graph_outputs;
        graph_outputs.reserve(outputs->outputs.size());
        for (auto* abstract_output : outputs->outputs) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  8. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->body_outputs[0] = {add2, 0};
        params->body_outputs[1] = params->body_inputs[1];
    
        // Finalize while loop
        TF_FinishWhile(params.get(), s_, &outputs[0]);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      // Define function, use it in graph, and run
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// core TensorFlow upon registration (see the `TF_FilesystemPluginInfo`
      /// structure in Section 4).
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if transaction successfuly finalized.
      ///   * Must set `status` to `TF_NOT_FOUND` if token is invalid/not found
      ///   * Might use any other error value for `status` to signal other errors.
      int (*end_transaction)(const TF_Filesystem* filesystem,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  10. tensorflow/BUILD

    # kernel registration - REGISTER_OP, REGISTER_KERNEL_BUILDER, etc.
    #
    # This setting is currently experimental. The 'v2' implementation does _not_
    # correspond to a particular, finalized design; rather, it relates to
    # developing one.
    #
    # The current aim of the 'v2' implementation is to allow 'unused' ops and
    # kernels to be discarded by the linker (to the benefit of binary size).
    bool_flag(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top