Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for func_20 (0.11 sec)

  1. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(func_->record->fdef().signature().attr().size(), 2);
      EXPECT_EQ(func_->record->fdef().signature().attr(0).name(), "v1");
      EXPECT_EQ(func_->record->fdef().signature().attr(0).type(), "int");
      EXPECT_EQ(func_->record->fdef().signature().attr(1).name(), "v2");
      EXPECT_EQ(func_->record->fdef().signature().attr(1).type(), "int");
    }
    
    void NodeWithAttrHelper(TF_Graph* graph, TF_Status* s, const char* name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

    // CHECK:       return %0 : tensor<i32>
    // CHECK:     }
    // CHECK:     func.func private @func_0_CPU_FLOAT(%arg0: tensor<i32>) -> tensor<i32> attributes {tac.device = "CPU", tac.inference_type = "FLOAT", tac.interface_name = "func_0"} {
    // CHECK:       %0 = "tfl.while"(%arg0) ({
    // CHECK:       ^bb0(%arg1: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

                it->second.data_type;
          }
        }
      }
      func_op.eraseArguments(indices_to_erase);
      func_op.setType(
          FunctionType::get(func_op.getContext(), new_types,
                            llvm::to_vector<4>(return_op->getOperandTypes())));
    }
    
    // Lifts reads/writes of resource arguments from func_op and changes its
    // signature. resource_data_types is the (index, data type) pair for each
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

    }
    
    bool IsInSubgraph(const string& func_id) { return !func_id.empty(); }
    
    Status Encapsulator::CopySubgraphNodes(
        absl::flat_hash_map<const Node*, Node*>* node_images) {
      for (Node* node : graph_in_->op_nodes()) {
        string func_id;
        TF_RETURN_IF_ERROR(GetFunctionNameAttr(node, &func_id));
        if (!IsInSubgraph(func_id)) continue;
    
        Subgraph& subgraph = subgraphs_[func_id];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      auto out_types = GetValueTypes(outputs);
      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      auto func_op = builder.create<func::FuncOp>(
          module.getLoc(), name, builder.getFunctionType(in_types, out_types));
      func_op.setPrivate();
      symbol_table.insert(func_op);
      return func_op;
    }
    
    TF::StatefulPartitionedCallOp EncapsulateOpsInFunc(
        OpBuilder& builder, SymbolTable& symbol_table,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/obj.go

    func encodeR4(as obj.As, rs1, rs2, rs3, rd, funct3, funct2 uint32) uint32 {
    	enc := encode(as)
    	if enc == nil {
    		panic("encodeR4: could not encode instruction")
    	}
    	if enc.rs2 != 0 {
    		panic("encodeR4: instruction uses rs2")
    	}
    	funct2 |= enc.funct7
    	if funct2&^3 != 0 {
    		panic("encodeR4: funct2 requires more than 2 bits")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

          finished_ = true;
        }
      }
    
      virtual void Run() {
        if (thread_can_start_ != NULL)
          thread_can_start_->WaitForNotification();
        func_(param_);
      }
    
     private:
      const UserThreadFunc func_;  // User-supplied thread function.
      const T param_;  // User-supplied parameter to the thread function.
      // When non-NULL, used to block execution until the controller thread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

          finished_ = true;
        }
      }
    
      virtual void Run() {
        if (thread_can_start_ != NULL)
          thread_can_start_->WaitForNotification();
        func_(param_);
      }
    
     private:
      const UserThreadFunc func_;  // User-supplied thread function.
      const T param_;  // User-supplied parameter to the thread function.
      // When non-NULL, used to block execution until the controller thread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof_test.go

    	if newContentions != contentions || newDelay != delay {
    		t.Fatalf("sample value changed: got [%d, %d], want [%d, %d]", newContentions, newDelay, contentions, delay)
    	}
    }
    
    func func1(c chan int) { <-c }
    func func2(c chan int) { <-c }
    func func3(c chan int) { <-c }
    func func4(c chan int) { <-c }
    
    func TestGoroutineCounts(t *testing.T) {
    	// Setting GOMAXPROCS to 1 ensures we can force all goroutines to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top