Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 194 for computations (0.15 sec)

  1. src/cmd/cgo/internal/test/test.go

    }
    
    void init() {
            SansTypeface = loadfont();
    }
    
    // issue 5242
    // Cgo incorrectly computed the alignment of structs
    // with no Go accessible fields as 0, and then panicked on
    // modulo-by-zero computations.
    
    // issue 50987
    // disable arm64 GCC warnings
    #cgo CFLAGS: -Wno-psabi -Wno-unknown-warning-option
    
    typedef struct {
    } foo;
    
    typedef struct {
    	int x : 1;
    } bar;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/partially_decluster_pass.cc

    //
    // then pulling `f` out of the cluster may reduce the number of compilations and
    // will never increase the number of compilations.
    //
    // We may reduce the number of compilations if f is many to one.  For instance
    // if f(x,y) = x-y then x=3,y=1 and x=4,y=2 will generate two different
    // compilations if f is in the cluster but only one compilation if f is outside
    // the cluster.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu_resource_partitioning.mlir

      %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32>
      // CHECK:      [[COMPUTATION:%.+]] = "tf_device.cluster_func"([[INPUT]])
      %2 = "tf_device.cluster_func"(%1) {func = @computation, use_spmd_for_xla_partitioning = true} : (tensor<i32>) -> tensor<i32>
      // CHECK:      [[OUTPUT:%.+]]:2 = "tf.TPUPartitionedOutputV2"([[COMPUTATION]])
      // CHECK-SAME: _XlaSharding = ""
      // CHECK-SAME: partition_dims = []
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/compile.cc

      return true;
    }
    
    namespace {
    
    // Compiles the XLA computation into executable code.
    Status CompileXla(xla::CompileOnlyClient* client,
                      const xla::XlaComputation& computation,
                      const xla::cpu::CpuAotCompilationOptions& aot_opts,
                      CompileResult* compile_result) {
      // Retrieves arg and result layouts from the computation.
      // TODO(toddw): Should we let the user choose the major/minor ordering?
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

      xla::Tuple(&builder, tuple_values);
    
      TF_ASSERT_OK_AND_ASSIGN(XlaComputation computation, builder.Build());
      EXPECT_EQ(computation.proto().computations_size(), 2);
    
      TF_ASSERT_OK(CreateMlirModule());
      TF_ASSERT_OK_AND_ASSIGN(TupleOp root_tuple,
                              ImportXlaComputationIntoModule(computation));
      EXPECT_TRUE(root_tuple);
    
      int num_func_ops = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/math/big/prime.go

    //
    // References:
    //
    // Baillie and Wagstaff, "Lucas Pseudoprimes", Mathematics of Computation 35(152),
    // October 1980, pp. 1391-1417, especially page 1401.
    // https://www.ams.org/journals/mcom/1980-35-152/S0025-5718-1980-0583518-6/S0025-5718-1980-0583518-6.pdf
    //
    // Grantham, "Frobenius Pseudoprimes", Mathematics of Computation 70(234),
    // March 2000, pp. 873-891.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/codegen_test_h.golden

    namespace foo {
    namespace bar {
    
    // MyClass represents a computation previously specified in a
    // TensorFlow graph, now compiled into executable code. This extends the generic
    // XlaCompiledCpuFunction class with statically type-safe arg and result
    // methods. Usage example:
    //
    //   MyClass computation;
    //   // ...set args using computation.argN methods
    //   CHECK(computation.Run());
    //   // ...inspect results using computation.resultN methods
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

      }
    
      if (output_to_input_alias.empty()) return absl::OkStatus();
    
      xla::HloModuleProto* module_proto =
          compilation_result->computation->mutable_proto();
      absl::StatusOr<xla::ProgramShape> program_shape_or_status =
          compilation_result->computation->GetProgramShape();
      TF_RET_CHECK(program_shape_or_status.ok());
    
      xla::ProgramShape& program_shape = program_shape_or_status.value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_executable_persistor.h

        DeviceCompilerClient<ExecutableType, ClientType>* compiler_client) const {
      XlaSerializedCacheEntry serialized_entry;
      const xla::HloModuleProto& hlo_module =
          compilation_result.computation->proto();
      *serialized_entry.mutable_key() =
          BuildSerializedCacheKey(signature_hash, hlo_module);
      *serialized_entry.mutable_hlo_module() = hlo_module;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

    }
    
    // Returns a set of ops that are outside compiled and can be extracted to before
    // the TPU computation. These ops are either connected to the inputs of the TPU
    // computation or other ops that can be extracted, and have no operands from
    // other ops in the TPU computation that cannot be extracted.
    llvm::SmallVector<Operation*, 4> FindOutsideCompiledOpsAtHead(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top