Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for fn_name (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/crypto/x509/platform_test.go

    			}
    			cert, err := ParseCertificate(certDER)
    			if err != nil {
    				t.Fatalf("ParseCertificate failed: %s", err)
    			}
    
    			var opts VerifyOptions
    			if tc.dnsName != "" {
    				opts.DNSName = tc.dnsName
    			}
    			if !tc.time.IsZero() {
    				opts.CurrentTime = tc.time
    			}
    			if len(tc.eku) > 0 {
    				opts.KeyUsages = tc.eku
    			}
    
    			expectedErr := tc.expectedErr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

        auto module_op = call_op->getParentOfType<ModuleOp>();
        SymbolTable symbol_table(module_op);
    
        auto f_name = f_attr.getValue();
        func::FuncOp float_func =
            dyn_cast<func::FuncOp>(symbol_table.lookup(f_name));
        if (!float_func) {
          return failure();
        }
        rewriter.setInsertionPointAfter(call_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtensionProvider.kt

        public companion object {
            public val EP_NAME: ExtensionPointName<KaResolveExtensionProvider> =
                ExtensionPointName<KaResolveExtensionProvider>("org.jetbrains.kotlin.kaResolveExtensionProvider")
    
            public fun provideExtensionsFor(module: KtModule): List<KaResolveExtension> {
                return EP_NAME.getExtensionList(module.project).flatMap { it.provideExtensionsFor(module) }
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. pkg/config/schema/kind/resources.gen.go

    	case CertificateSigningRequest:
    		return "CertificateSigningRequest"
    	case ConfigMap:
    		return "ConfigMap"
    	case CustomResourceDefinition:
    		return "CustomResourceDefinition"
    	case DNSName:
    		return "DNSName"
    	case DaemonSet:
    		return "DaemonSet"
    	case Deployment:
    		return "Deployment"
    	case DestinationRule:
    		return "DestinationRule"
    	case EndpointSlice:
    		return "EndpointSlice"
    	case Endpoints:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. build-logic/profiling/src/main/kotlin/gradlebuild.buildscan.gradle.kts

                    }
                }
            }
        }
    }
    
    fun BuildScanConfiguration.whenEnvIsSet(envName: String, action: BuildScanConfiguration.(envValue: String) -> Unit) {
        val envValue: String? = environmentVariable(envName).orNull
        if (!envValue.isNullOrEmpty()) {
            action(envValue)
        }
    }
    
    fun Project.extractWatchFsData() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:29:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top