Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for fn_name (0.11 sec)

  1. tensorflow/c/c_api_function.cc

            "Encountered while processing input ", i, " into function '", fn_name,
            "'");
        TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx),
                                        "Encountered while processing input ", i,
                                        " into function '", fn_name, "'");
    
        input_tensors->emplace_back(node, idx);
    
        const auto& iter = input_nodes->find(node);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.cc

    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    
    AbstractContext* BuildFunction(const char* fn_name) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name, status.get());
      return unwrap(graph_ctx);
    }
    
    Status CreateParamsForInputs(AbstractContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.cc

      }
      msg += ")";
    
      return errors::InvalidArgument(msg.c_str());
    }
    
    static TracingContext* CreateTracingExecutionContext(const char* fn_name,
                                                         TF_Status* s) {
      if (default_factory) {
        return default_factory(fn_name, s);
      }
      tsl::Set_TF_Status_from_Status(
          s, errors::FailedPrecondition("default_factory is nullptr"));
      return nullptr;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

            [](const std::string& input_name, const StringRef fn_name) {
              return absl::StrCat(fn_name.str(), "_", input_name);
            });
      }
      if (need_prefix_for_output_name) {
        absl::c_transform(
            output_name_vec, fn_output_name_vec, output_name_vec.begin(),
            [](const std::string& output_name, const StringRef fn_name) {
              return absl::StrCat(fn_name.str(), "_", output_name);
            });
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_compilation_cache_test.cc

    };
    
    using Cache = DeviceCompilationCache<FakeExecutable>;
    using Signature = DeviceCompilationClusterSignature;
    
    absl::StatusOr<Signature> BuildSampleSignature(const std::string& fn_name) {
      NameAttrList fn;
      fn.set_name(fn_name);
      std::vector<XlaCompiler::Argument> args(1);
      args[0].kind = XlaCompiler::Argument::kConstant;
      args[0].type = DT_INT32;
      args[0].shape = TensorShape({4, 0});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Builds and returns a `TracingContext` using the default tracing impl.
    AbstractContext* BuildFunction(const char* fn_name);
    
    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      *f = new MlirFunction(std::move(context_), std::move(module_), func_);
      return absl::OkStatus();
    }
    
    extern "C" {
    TracingContext* MlirTracingFactory(const char* fn_name, TF_Status* s) {
      return new MlirFunctionContext(fn_name);
    }
    }
    
    }  // namespace
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      }
    
      auto get_full_op_name = [&](const std::string& op_name) {
        const char* kTfPrefix = "tf.";
        return kTfPrefix + op_name;
      };
    
      std::string op_name = get_full_op_name(node_type_name);
      if (back_edge_node_output_.contains(&node)) {
        op_name = op_name + ".sink";
      }
    
      mlir::OperationState result(GetLocation(node), op_name);
      for (int i = 0; i < node.num_outputs(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/FqName.kt

     * limitations under the License.
     */
    
    package org.gradle.declarative.dsl.schema
    
    import java.io.Serializable
    
    
    interface FqName : Serializable {
        val packageName: String
        val simpleName: String
        val qualifiedName: String
    
        companion object Empty : FqName {
            override val packageName: String
                get() = ""
            override val simpleName: String
                get() = ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    						// log.Printf("%s:%d: [%s] cannot check cross-package assembly function: %s is in package %s", fname, lineno, arch, fnName, pkgPath)
    						fn = nil
    						fnName = ""
    						abi = ""
    						continue
    					}
    				}
    				// Trim off optional ABI selector.
    				fnName, abi = trimABI(fnName)
    				flag := m[3]
    				fn = knownFunc[fnName][arch]
    				if fn != nil {
    					size, _ := strconv.Atoi(m[5])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top